SmsManager.SetSmscAddress(String) Method

Definition

Sets the SMSC address on (U)SIM.

[Android.Runtime.Register("setSmscAddress", "(Ljava/lang/String;)Z", "", ApiSince=30)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public bool SetSmscAddress (string smsc);
[<Android.Runtime.Register("setSmscAddress", "(Ljava/lang/String;)Z", "", ApiSince=30)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
member this.SetSmscAddress : string -> bool

Parameters

smsc
String

the SMSC address string.

Returns

Boolean

true for success, false otherwise. Failure can be due modem returning an error.

Attributes

Remarks

Java documentation for android.telephony.SmsManager.setSmscAddress(java.lang.String).

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