ServiceState Constructors
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.
Overloads
| ServiceState() |
Empty constructor |
| ServiceState(Parcel) |
Obsolete.
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
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)
Caution
deprecated
Construct a ServiceState object from the given parcel.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
[System.Obsolete("deprecated")]
public ServiceState (Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Telephony.ServiceState : Android.OS.Parcel -> Android.Telephony.ServiceState
Parameters
- in
- Parcel
- Attributes
Remarks
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
Source service state
- Attributes
Remarks
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
- 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.