PhoneAccount.Builder.SetAddress(Uri) 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.
Sets the address.
[Android.Runtime.Register("setAddress", "(Landroid/net/Uri;)Landroid/telecom/PhoneAccount$Builder;", "GetSetAddress_Landroid_net_Uri_Handler", ApiSince=23)]
public virtual Android.Telecom.PhoneAccount.Builder SetAddress(Android.Net.Uri value);
[<Android.Runtime.Register("setAddress", "(Landroid/net/Uri;)Landroid/telecom/PhoneAccount$Builder;", "GetSetAddress_Landroid_net_Uri_Handler", ApiSince=23)>]
abstract member SetAddress : Android.Net.Uri -> Android.Telecom.PhoneAccount.Builder
override this.SetAddress : Android.Net.Uri -> Android.Telecom.PhoneAccount.Builder
Parameters
- value
- Uri
The address of the phone account.
Returns
The builder.
- Attributes
Remarks
Sets the address. See PhoneAccount.getAddress.
Note: The entire URI value 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 URI is over 256.
Android reference for android.telecom.PhoneAccount.Builder.setAddress.
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.