SmsManager.GetSmsManagerForSubscriptionId(Int32) Method

Definition

Caution

deprecated

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

[Android.Runtime.Register("getSmsManagerForSubscriptionId", "(I)Landroid/telephony/SmsManager;", "", ApiSince=22)]
[System.Obsolete("deprecated")]
public static Android.Telephony.SmsManager? GetSmsManagerForSubscriptionId (int subId);
[<Android.Runtime.Register("getSmsManagerForSubscriptionId", "(I)Landroid/telephony/SmsManager;", "", ApiSince=22)>]
[<System.Obsolete("deprecated")>]
static member GetSmsManagerForSubscriptionId : 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.getSmsManagerForSubscriptionId(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