Person
class is used to simplifyconversation participants.LayoutInDisplayCutoutMode
set toLayoutInDisplayCutoutModeShortEdges
. Notice that the app's whitebackground extends into the display cutout area:LayoutInDisplayCutoutMode
is set toLayoutInDisplayCutoutModeShortNever
before it goes to full-screen.Notice that the app's white background is not allowed to extend intothe display cutout area.DisplayCutout
represents the area of the display that cannotbe used to display content. You can use this information to retrievethe location and shape of the cutout so that your app does not attemptto display content in this non-functional area.Person
class:Person
object that represents the sender. For example, thesender's name and icon are included in fromPerson
:Notification.MessagingStyle.Message
that contains the image to send,passing the image to the new Notification.MessagingStyle.Message.SetData method.For example:Notification.MessagingStyle
object. For example:BitmapFactory
. ImageDecoder
can be used to decode an AnimatedImageDrawable
.Person
class, and how tosend a notification that includes an image.