Notification.WearableExtender.CustomSizePreset Property
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.
Get the custom size preset for the display of this notification out of the available presets found in Notification.WearableExtender, e.g.
public Android.App.WearableSizePreset CustomSizePreset { [Android.Runtime.Register("getCustomSizePreset", "()I", "")] get; }
[<get: Android.Runtime.Register("getCustomSizePreset", "()I", "")>]
member this.CustomSizePreset : Android.App.WearableSizePreset
Property Value
- Attributes
Remarks
Get the custom size preset for the display of this notification out of the available presets found in Notification.WearableExtender, e.g. SIZE_LARGE. Some custom size presets are only applicable for custom display notifications created using setDisplayIntent(PendingIntent). Check the documentation for the preset in question. See also setCustomContentHeight(int) and setCustomSizePreset(int).
Android reference for android.app.Notification.WearableExtender.getCustomSizePreset.
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.