Control.StatelessBuilder.SetSubtitle 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 |
|---|---|
| SetSubtitle(ICharSequence) |
Sets the additional text shown below the title. |
| SetSubtitle(String) |
Sets the additional text shown below the title. |
SetSubtitle(ICharSequence)
Sets the additional text shown below the title.
[Android.Runtime.Register("setSubtitle", "(Ljava/lang/CharSequence;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)]
public Android.Service.Controls.Control.StatelessBuilder SetSubtitle(Java.Lang.ICharSequence subtitle);
[<Android.Runtime.Register("setSubtitle", "(Ljava/lang/CharSequence;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)>]
member this.SetSubtitle : Java.Lang.ICharSequence -> Android.Service.Controls.Control.StatelessBuilder
Parameters
- subtitle
- ICharSequence
additional information about the Control, to appear underneath the title. This value cannot be null.
Returns
this This value cannot be null.
- Attributes
Remarks
Android reference for android.service.controls.Control.StatelessBuilder.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 the additional text shown below the title.
public Android.Service.Controls.Control.StatelessBuilder SetSubtitle(string subtitle);
member this.SetSubtitle : string -> Android.Service.Controls.Control.StatelessBuilder
Parameters
- subtitle
- String
Additional control information to show below the title. This value must not be null.
Returns
This builder.
Remarks
This overload supplies the subtitle as a string instead of a Java character sequence.
See the Android implementation.