Partager via


SubscriptionManager.IsNetworkRoaming(Int32) Method

Definition

Returns true if the device is considered roaming on the current network for a subscription.

[Android.Runtime.Register("isNetworkRoaming", "(I)Z", "GetIsNetworkRoaming_IHandler", ApiSince=22)]
public virtual bool IsNetworkRoaming (int subId);
[<Android.Runtime.Register("isNetworkRoaming", "(I)Z", "GetIsNetworkRoaming_IHandler", ApiSince=22)>]
abstract member IsNetworkRoaming : int -> bool
override this.IsNetworkRoaming : int -> bool

Parameters

subId
Int32

The subscription ID

Returns

true if the network for the subscription is roaming, false otherwise

Attributes

Remarks

Returns true if the device is considered roaming on the current network for a subscription.

Availability: Only when user registered to a network.

Java documentation for android.telephony.SubscriptionManager.isNetworkRoaming(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