MediaProjectionAppContent.Builder.SetTitle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).