Share via


Activity.MaxNumPictureInPictureActions Property

Definition

Return the number of actions that will be displayed in the picture-in-picture UI when the user interacts with the activity currently in picture-in-picture mode.

public virtual int MaxNumPictureInPictureActions { [Android.Runtime.Register("getMaxNumPictureInPictureActions", "()I", "GetGetMaxNumPictureInPictureActionsHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getMaxNumPictureInPictureActions", "()I", "GetGetMaxNumPictureInPictureActionsHandler", ApiSince=26)>]
member this.MaxNumPictureInPictureActions : int

Property Value

Attributes

Remarks

Return the number of actions that will be displayed in the picture-in-picture UI when the user interacts with the activity currently in picture-in-picture mode. This number may change if the global configuration changes (ie. if the device is plugged into an external display), but will always be at least three.

Java documentation for android.app.Activity.getMaxNumPictureInPictureActions().

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