PhoneStateListener.OnActiveDataSubscriptionIdChanged(Int32) 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.
Caution
deprecated
Callback invoked when active data subId changes.
[Android.Runtime.Register("onActiveDataSubscriptionIdChanged", "(I)V", "GetOnActiveDataSubscriptionIdChanged_IHandler", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")]
[System.Obsolete("deprecated")]
public virtual void OnActiveDataSubscriptionIdChanged (int subId);
[<Android.Runtime.Register("onActiveDataSubscriptionIdChanged", "(I)V", "GetOnActiveDataSubscriptionIdChanged_IHandler", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
[<System.Obsolete("deprecated")>]
abstract member OnActiveDataSubscriptionIdChanged : int -> unit
override this.OnActiveDataSubscriptionIdChanged : int -> unit
Parameters
- subId
- Int32
current subscription used to setup Cellular Internet data. For example, it could be the current active opportunistic subscription in use, or the subscription user selected as default data subscription in DSDS mode.
- Attributes
Remarks
Java documentation for android.telephony.PhoneStateListener.onActiveDataSubscriptionIdChanged(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.