Language

PhoneAccount.Builder.SetSupportedUriSchemes(IList<String>) Method

Definition

Specifies the URI schemes supported by the PhoneAccount.

[Android.Runtime.Register("setSupportedUriSchemes", "(Ljava/util/List;)Landroid/telecom/PhoneAccount$Builder;", "GetSetSupportedUriSchemes_Ljava_util_List_Handler", ApiSince=23)]
public virtual Android.Telecom.PhoneAccount.Builder SetSupportedUriSchemes(System.Collections.Generic.IList<string>? uriSchemes);
[<Android.Runtime.Register("setSupportedUriSchemes", "(Ljava/util/List;)Landroid/telecom/PhoneAccount$Builder;", "GetSetSupportedUriSchemes_Ljava_util_List_Handler", ApiSince=23)>]
abstract member SetSupportedUriSchemes : System.Collections.Generic.IList<string> -> Android.Telecom.PhoneAccount.Builder
override this.SetSupportedUriSchemes : System.Collections.Generic.IList<string> -> Android.Telecom.PhoneAccount.Builder

Parameters

uriSchemes
IList<String>

The URI schemes.

Returns

The builder.

Attributes

Remarks

Specifies the URI schemes supported by the PhoneAccount.

A max of 10 URI schemes can be added per account. Additionally, each URI scheme is limited to 256 characters. Adding more than 10 URI schemes or 256 characters on any scheme will cause an IllegalArgumentException to be thrown when the account is registered.

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

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