PictureInPictureParams.Builder.SetSubtitle Method

Definition

Overloads

Name Description
SetSubtitle(ICharSequence)

Sets a subtitle for the picture-in-picture window, which may be displayed by the system to give the user more detailed information about what this PIP is displaying.

SetSubtitle(String)

Sets a subtitle for the picture-in-picture window, which may be displayed by the system to give the user more detailed information about what this PIP is displaying.

SetSubtitle(ICharSequence)

Sets a subtitle for the picture-in-picture window, which may be displayed by the system to give the user more detailed information about what this PIP is displaying.

[Android.Runtime.Register("setSubtitle", "(Ljava/lang/CharSequence;)Landroid/app/PictureInPictureParams$Builder;", "GetSetSubtitle_Ljava_lang_CharSequence_Handler", ApiSince=33)]
public virtual Android.App.PictureInPictureParams.Builder SetSubtitle(Java.Lang.ICharSequence? subtitle);
[<Android.Runtime.Register("setSubtitle", "(Ljava/lang/CharSequence;)Landroid/app/PictureInPictureParams$Builder;", "GetSetSubtitle_Ljava_lang_CharSequence_Handler", ApiSince=33)>]
abstract member SetSubtitle : Java.Lang.ICharSequence -> Android.App.PictureInPictureParams.Builder
override this.SetSubtitle : Java.Lang.ICharSequence -> Android.App.PictureInPictureParams.Builder

Parameters

subtitle
ICharSequence

CharSequence: Details about the PIP content. This value may be null.

Returns

this builder instance. This value cannot be null.

Attributes

Remarks

Sets a subtitle for the picture-in-picture window, which may be displayed by the system to give the user more detailed information about what this PIP is displaying. Setting a title via PictureInPictureParams.Builder.setTitle(CharSequence) should be prioritized. Subtitles longer than 1024 characters (default) are automatically truncated.

Android reference for android.app.PictureInPictureParams.Builder.setSubtitle.

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

SetSubtitle(String)

Sets a subtitle for the picture-in-picture window, which may be displayed by the system to give the user more detailed information about what this PIP is displaying.

public Android.App.PictureInPictureParams.Builder SetSubtitle(string? subtitle);
member this.SetSubtitle : string -> Android.App.PictureInPictureParams.Builder

Parameters

subtitle
String

CharSequence: Details about the PIP content. This value may be null.

Returns

this builder instance. This value cannot be null.

Remarks

Sets a subtitle for the picture-in-picture window, which may be displayed by the system to give the user more detailed information about what this PIP is displaying. Setting a title via PictureInPictureParams.Builder.setTitle(CharSequence) should be prioritized. Subtitles longer than 1024 characters (default) are automatically truncated.

Android reference for android.app.PictureInPictureParams.Builder.setSubtitle.

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