PhoneStateListener.OnUserMobileDataStateChanged(Boolean) 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 the user mobile data state has changed on the registered subscription.
[Android.Runtime.Register("onUserMobileDataStateChanged", "(Z)V", "GetOnUserMobileDataStateChanged_ZHandler", ApiSince=28)]
[System.Obsolete("deprecated")]
public virtual void OnUserMobileDataStateChanged (bool enabled);
[<Android.Runtime.Register("onUserMobileDataStateChanged", "(Z)V", "GetOnUserMobileDataStateChanged_ZHandler", ApiSince=28)>]
[<System.Obsolete("deprecated")>]
abstract member OnUserMobileDataStateChanged : bool -> unit
override this.OnUserMobileDataStateChanged : bool -> unit
Parameters
- enabled
- Boolean
indicates whether the current user mobile data state is enabled or disabled.
- Attributes
Remarks
Java documentation for android.telephony.PhoneStateListener.onUserMobileDataStateChanged(boolean).
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.