Share via


ComponentInfo Constructors

Definition

Overloads

ComponentInfo()
ComponentInfo(ComponentInfo)
ComponentInfo(Parcel)
ComponentInfo(IntPtr, JniHandleOwnership)

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

ComponentInfo()

[Android.Runtime.Register(".ctor", "()V", "")]
public ComponentInfo ();
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

ComponentInfo(ComponentInfo)

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

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

ComponentInfo(Parcel)

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
protected ComponentInfo (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.PM.ComponentInfo : Android.OS.Parcel -> Android.Content.PM.ComponentInfo

Parameters

source
Parcel
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

ComponentInfo(IntPtr, JniHandleOwnership)

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

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

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