Udostępnij za pośrednictwem


ServiceInfo Constructors

Definition

Overloads

ServiceInfo()
ServiceInfo(ServiceInfo)
ServiceInfo(IntPtr, JniHandleOwnership)

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

ServiceInfo()

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

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

ServiceInfo(ServiceInfo)

[Android.Runtime.Register(".ctor", "(Landroid/content/pm/ServiceInfo;)V", "")]
public ServiceInfo (Android.Content.PM.ServiceInfo? orig);
[<Android.Runtime.Register(".ctor", "(Landroid/content/pm/ServiceInfo;)V", "")>]
new Android.Content.PM.ServiceInfo : Android.Content.PM.ServiceInfo -> Android.Content.PM.ServiceInfo

Parameters

Attributes

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

ServiceInfo(IntPtr, JniHandleOwnership)

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

protected ServiceInfo (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PM.ServiceInfo : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.ServiceInfo

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