Notification.WearableExtender.SetHintAvoidBackgroundClipping(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set a hint that this notification's background should not be clipped if possible, and should instead be resized to fully display on the screen, retaining the aspect ratio of the image.
[Android.Runtime.Register("setHintAvoidBackgroundClipping", "(Z)Landroid/app/Notification$WearableExtender;", "", ApiSince=22)]
public Android.App.Notification.WearableExtender? SetHintAvoidBackgroundClipping(bool hintAvoidBackgroundClipping);
[<Android.Runtime.Register("setHintAvoidBackgroundClipping", "(Z)Landroid/app/Notification$WearableExtender;", "", ApiSince=22)>]
member this.SetHintAvoidBackgroundClipping : bool -> Android.App.Notification.WearableExtender
Parameters
- hintAvoidBackgroundClipping
- Boolean
boolean: true to avoid clipping if possible
Returns
this object for method chaining
- Attributes
Remarks
Set a hint that this notification's background should not be clipped if possible, and should instead be resized to fully display on the screen, retaining the aspect ratio of the image. This can be useful for images like barcodes or qr codes.
Android reference for android.app.Notification.WearableExtender.setHintAvoidBackgroundClipping.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.