Language

PictureInPictureParams.Builder.SetTitle Method

Definition

Overloads

Name Description
SetTitle(ICharSequence)

Sets a title for the picture-in-picture window, which may be displayed by the system to give the user information about what this PIP is generally being used for.

SetTitle(String)

Sets a title for the picture-in-picture window, which may be displayed by the system to give the user information about what this PIP is generally being used for.

SetTitle(ICharSequence)

Sets a title for the picture-in-picture window, which may be displayed by the system to give the user information about what this PIP is generally being used for.

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

Parameters

title
ICharSequence

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

Returns

this builder instance. This value cannot be null.

Attributes

Remarks

Sets a title for the picture-in-picture window, which may be displayed by the system to give the user information about what this PIP is generally being used for. Titles longer than 1024 characters (default) are automatically truncated.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

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

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

SetTitle(String)

Sets a title for the picture-in-picture window, which may be displayed by the system to give the user information about what this PIP is generally being used for.

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

Parameters

title
String

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

Returns

this builder instance. This value cannot be null.

Remarks

Sets a title for the picture-in-picture window, which may be displayed by the system to give the user information about what this PIP is generally being used for. Titles longer than 1024 characters (default) are automatically truncated.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

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

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