CarrierConfigManager.GetConfigForSubId(Int32) Method

Definition

Gets the configuration values for a particular subscription, which is associated with a specific SIM card.

[Android.Runtime.Register("getConfigForSubId", "(I)Landroid/os/PersistableBundle;", "GetGetConfigForSubId_IHandler", ApiSince=23)]
public virtual Android.OS.PersistableBundle? GetConfigForSubId (int subId);
[<Android.Runtime.Register("getConfigForSubId", "(I)Landroid/os/PersistableBundle;", "GetGetConfigForSubId_IHandler", ApiSince=23)>]
abstract member GetConfigForSubId : int -> Android.OS.PersistableBundle
override this.GetConfigForSubId : int -> Android.OS.PersistableBundle

Parameters

subId
Int32

the subscription ID, normally obtained from SubscriptionManager.

Returns

PersistableBundle

A PersistableBundle containing the config for the given subId, or default values for an invalid subId.

Attributes

Remarks

Java documentation for android.telephony.CarrierConfigManager.getConfigForSubId(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