共用方式為


Notification.WearableExtender.CustomSizePreset 屬性

定義

從中找到 android.app.Notification.WearableExtender的可用預設值中取得此通知的顯示自定義大小預設值,例如。

public Android.App.WearableSizePreset CustomSizePreset { [Android.Runtime.Register("getCustomSizePreset", "()I", "")] get; }
[<get: Android.Runtime.Register("getCustomSizePreset", "()I", "")>]
member this.CustomSizePreset : Android.App.WearableSizePreset

屬性值

屬性

備註

從中找到android.app.Notification.WearableExtender的可用預設值中取得此通知的顯示自訂大小預設值,例如 。 #SIZE_LARGE

某些自訂大小預設值僅適用於使用 #setDisplayIntent建立的自定義顯示通知。 請檢查檔,以取得有問題的預設值。 請參閱 #setCustomContentHeight#setCustomSizePreset

android.app.Notification.WearableExtender.getCustomSizePreset()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於