Language

PhoneAccount.Builder.AddSupportedUriScheme(String) Method

Definition

Specifies an additional URI scheme supported by the PhoneAccount.

[Android.Runtime.Register("addSupportedUriScheme", "(Ljava/lang/String;)Landroid/telecom/PhoneAccount$Builder;", "GetAddSupportedUriScheme_Ljava_lang_String_Handler", ApiSince=23)]
public virtual Android.Telecom.PhoneAccount.Builder AddSupportedUriScheme(string uriScheme);
[<Android.Runtime.Register("addSupportedUriScheme", "(Ljava/lang/String;)Landroid/telecom/PhoneAccount$Builder;", "GetAddSupportedUriScheme_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member AddSupportedUriScheme : string -> Android.Telecom.PhoneAccount.Builder
override this.AddSupportedUriScheme : string -> Android.Telecom.PhoneAccount.Builder

Parameters

uriScheme
String

The URI scheme.

Returns

The builder.

Attributes

Remarks

Specifies an additional URI scheme supported by the PhoneAccount.

Each URI scheme is limited to 256 characters. Adding a scheme over 256 characters will cause an IllegalArgumentException to be thrown when the account is registered.

Android reference for android.telecom.PhoneAccount.Builder.addSupportedUriScheme.

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