Language

BarringInfo.GetBarringServiceInfo(Int32) Method

Definition

Get the BarringServiceInfo for a specified service.

[Android.Runtime.Register("getBarringServiceInfo", "(I)Landroid/telephony/BarringInfo$BarringServiceInfo;", "", ApiSince=30)]
public Android.Telephony.BarringInfo.BarringServiceInfo GetBarringServiceInfo(int service);
[<Android.Runtime.Register("getBarringServiceInfo", "(I)Landroid/telephony/BarringInfo$BarringServiceInfo;", "", ApiSince=30)>]
member this.GetBarringServiceInfo : int -> Android.Telephony.BarringInfo.BarringServiceInfo

Parameters

service
Int32

Value is one of the following: BARRING_SERVICE_TYPE_CS_SERVICE BARRING_SERVICE_TYPE_PS_SERVICE BARRING_SERVICE_TYPE_CS_VOICE BARRING_SERVICE_TYPE_MO_SIGNALLING BARRING_SERVICE_TYPE_MO_DATA BARRING_SERVICE_TYPE_CS_FALLBACK BARRING_SERVICE_TYPE_MMTEL_VOICE BARRING_SERVICE_TYPE_MMTEL_VIDEO BARRING_SERVICE_TYPE_EMERGENCY BARRING_SERVICE_TYPE_SMS

Returns

a BarringServiceInfo struct describing the current barring status for a service

Attributes

Remarks

Java documentation for android.telephony.BarringInfo.getBarringServiceInfo(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