PhoneAccount.Builder.SetShortDescription 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 |
|---|---|
| SetShortDescription(ICharSequence) |
Sets the short description. |
| SetShortDescription(String) |
Sets the short description. |
SetShortDescription(ICharSequence)
Sets the short description.
[Android.Runtime.Register("setShortDescription", "(Ljava/lang/CharSequence;)Landroid/telecom/PhoneAccount$Builder;", "GetSetShortDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)]
public virtual Android.Telecom.PhoneAccount.Builder SetShortDescription(Java.Lang.ICharSequence value);
[<Android.Runtime.Register("setShortDescription", "(Ljava/lang/CharSequence;)Landroid/telecom/PhoneAccount$Builder;", "GetSetShortDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)>]
abstract member SetShortDescription : Java.Lang.ICharSequence -> Android.Telecom.PhoneAccount.Builder
override this.SetShortDescription : Java.Lang.ICharSequence -> Android.Telecom.PhoneAccount.Builder
Parameters
- value
- ICharSequence
The short description.
Returns
The builder.
- Attributes
Remarks
Sets the short description. See PhoneAccount.getShortDescription.
Note: Each CharSequence or String field is limited to 256 characters. This check is enforced when registering the PhoneAccount via TelecomManager.registerPhoneAccount(PhoneAccount) and will cause an IllegalArgumentException to be thrown if the character field limit is over 256.
Android reference for android.telecom.PhoneAccount.Builder.setShortDescription.
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
SetShortDescription(String)
Sets the short description.
public Android.Telecom.PhoneAccount.Builder SetShortDescription(string value);
member this.SetShortDescription : string -> Android.Telecom.PhoneAccount.Builder
Parameters
- value
- String
The short description.
Returns
The builder.
Remarks
Sets the short description. See PhoneAccount.getShortDescription.
Note: Each CharSequence or String field is limited to 256 characters. This check is enforced when registering the PhoneAccount via TelecomManager.registerPhoneAccount(PhoneAccount) and will cause an IllegalArgumentException to be thrown if the character field limit is over 256.
Android reference for android.telecom.PhoneAccount.Builder.setShortDescription.
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.