Notification.WearableExtender.SetCustomContentHeight(Int32) 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 the custom height in pixels for the display of this notification's content.
[Android.Runtime.Register("setCustomContentHeight", "(I)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? SetCustomContentHeight(int height);
[<Android.Runtime.Register("setCustomContentHeight", "(I)Landroid/app/Notification$WearableExtender;", "")>]
member this.SetCustomContentHeight : int -> Android.App.Notification.WearableExtender
Parameters
- height
- Int32
int
Returns
This Android.App.Notification.WearableExtender instance, allowing calls to be chained.
- Attributes
Remarks
Set the custom height in pixels for the display of this notification's content. This option is only available for custom display notifications created using setDisplayIntent(PendingIntent). See also setCustomSizePreset(int) and getCustomContentHeight().
Android reference for android.app.Notification.WearableExtender.setCustomContentHeight.
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.