Notification.WearableExtender.CustomContentHeight 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此通知内容的显示自定义高度(以像素为单位)。
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
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。