Share via


ServiceState Constructors

Definition

Overloads

ServiceState()

Empty constructor

ServiceState(Parcel)

Construct a ServiceState object from the given parcel.

ServiceState(ServiceState)

Copy constructors

ServiceState(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ServiceState()

Empty constructor

[Android.Runtime.Register(".ctor", "()V", "")]
public ServiceState ();
Attributes

Remarks

Empty constructor

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

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

ServiceState(Parcel)

Construct a ServiceState object from the given parcel.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public ServiceState (Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Telephony.ServiceState : Android.OS.Parcel -> Android.Telephony.ServiceState

Parameters

in
Parcel
Attributes

Remarks

Construct a ServiceState object from the given parcel.

This member is deprecated. The constructor takes parcel should not be public at the beginning. Use #ServiceState() instead.

Java documentation for android.telephony.ServiceState.ServiceState(android.os.Parcel).

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

ServiceState(ServiceState)

Copy constructors

[Android.Runtime.Register(".ctor", "(Landroid/telephony/ServiceState;)V", "")]
public ServiceState (Android.Telephony.ServiceState? s);
[<Android.Runtime.Register(".ctor", "(Landroid/telephony/ServiceState;)V", "")>]
new Android.Telephony.ServiceState : Android.Telephony.ServiceState -> Android.Telephony.ServiceState

Parameters

s
ServiceState

Source service state

Attributes

Remarks

Copy constructors

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

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

ServiceState(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ServiceState (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Telephony.ServiceState : nativeint * Android.Runtime.JniHandleOwnership -> Android.Telephony.ServiceState

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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