Språk

MediaProjectionAppContent.Builder.SetTitle Method

Definition

Overloads

Name Description
SetTitle(ICharSequence)

Sets the optional title for the content.

SetTitle(String)

Sets the content title from a managed string.

SetTitle(ICharSequence)

Sets the optional title for the content.

[Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/media/projection/MediaProjectionAppContent$Builder;", "", ApiSince=37)]
public Android.Media.Projection.MediaProjectionAppContent.Builder SetTitle(Java.Lang.ICharSequence title);
[<Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/media/projection/MediaProjectionAppContent$Builder;", "", ApiSince=37)>]
member this.SetTitle : Java.Lang.ICharSequence -> Android.Media.Projection.MediaProjectionAppContent.Builder

Parameters

title
ICharSequence

A CharSequence to display as the title.

Returns

This Builder instance for chaining.

Attributes

Remarks

Sets the optional title for the content.

Android reference for android.media.projection.MediaProjectionAppContent.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 the content title from a managed string.

public Android.Media.Projection.MediaProjectionAppContent.Builder SetTitle(string title);
member this.SetTitle : string -> Android.Media.Projection.MediaProjectionAppContent.Builder

Parameters

title
String

The text to show as the content title.

Returns

This builder, so additional settings can be made.

Remarks

This overload converts title to a Java string and calls SetTitle(ICharSequence).

Applies to