SmsManager.CreateForSubscriptionId(Int32) Method

Definition

Get the instance of the SmsManager associated with a particular subscription ID.

[Android.Runtime.Register("createForSubscriptionId", "(I)Landroid/telephony/SmsManager;", "", ApiSince=31)]
public Android.Telephony.SmsManager CreateForSubscriptionId (int subId);
[<Android.Runtime.Register("createForSubscriptionId", "(I)Landroid/telephony/SmsManager;", "", ApiSince=31)>]
member this.CreateForSubscriptionId : int -> Android.Telephony.SmsManager

Parameters

subId
Int32

an SMS subscription ID, typically accessed using SubscriptionManager

Returns

SmsManager

the instance of the SmsManager associated with subscription

Attributes

Remarks

Java documentation for android.telephony.SmsManager.createForSubscriptionId(int).

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