語言

Notification.WearableExtender.CustomContentHeight 屬性

定義

取得此通知內容顯示的自訂像素高度。

public int CustomContentHeight { [Android.Runtime.Register("getCustomContentHeight", "()I", "")] get; }
[<get: Android.Runtime.Register("getCustomContentHeight", "()I", "")>]
member this.CustomContentHeight : int

屬性值

屬性

備註

取得此通知內容顯示的自訂像素高度。 此選項僅適用於使用 setDisplayIntent(PendingIntent) 建立的自訂顯示通知。 另見 setCustomSizePreset(int) 和 setCustomContentHeight(int)。

Android 參考資料。android.app.Notification.WearableExtender.getCustomContentHeight

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於