Compartilhar via


PictureInPictureParams.AspectRatio Property

Definition

Returns the expected aspect ratio of the picture-in-picture window.

public Android.Util.Rational? AspectRatio { [Android.Runtime.Register("getAspectRatio", "()Landroid/util/Rational;", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getAspectRatio", "()Landroid/util/Rational;", "", ApiSince=33)>]
member this.AspectRatio : Android.Util.Rational

Property Value

aspect ratio as the desired width / height or null if not set.

Attributes

Remarks

Returns the expected aspect ratio of the picture-in-picture window.

Java documentation for android.app.PictureInPictureParams.getAspectRatio().

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