Notification.WearableExtender.CustomSizePreset Property

Definition

Get the custom size preset for the display of this notification out of the available presets found in android.app.Notification.WearableExtender, e.

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 android.app.Notification.WearableExtender, e.g. #SIZE_LARGE.

Some custom size presets are only applicable for custom display notifications created using #setDisplayIntent. Check the documentation for the preset in question. See also #setCustomContentHeight and #setCustomSizePreset.

Java documentation 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.

Applies to