共用方式為


ServiceState.State Property

Definition

Get current voice service state

public virtual Android.Telephony.PhoneState State { [Android.Runtime.Register("getState", "()I", "GetGetStateHandler")] get; [Android.Runtime.Register("setState", "(I)V", "GetSetState_IHandler")] set; }
[<get: Android.Runtime.Register("getState", "()I", "GetGetStateHandler")>]
[<set: Android.Runtime.Register("setState", "(I)V", "GetSetState_IHandler")>]
member this.State : Android.Telephony.PhoneState with get, set

Property Value

Attributes

Remarks

Get current voice service state

Java documentation for android.telephony.ServiceState.getState().

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