共用方式為


Notification.BubbleMetadata.DesiredHeightResId Property

Definition

public int DesiredHeightResId { [Android.Runtime.Register("getDesiredHeightResId", "()I", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getDesiredHeightResId", "()I", "", ApiSince=29)>]
member this.DesiredHeightResId : int

Property Value

the resId of ideal height for the floating window that app content defined by #getIntent() for this bubble. A value of 0 indicates a res value has not been provided for the desired height.

Attributes

Remarks

Java documentation for android.app.Notification.BubbleMetadata.getDesiredHeightResId().

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