Udostępnij za pośrednictwem


WorkSource Constructors

Definition

Overloads

WorkSource()

Create an empty work source.

WorkSource(WorkSource)

Create a new WorkSource that is a copy of an existing one.

WorkSource(IntPtr, JniHandleOwnership)

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

WorkSource()

Create an empty work source.

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

Remarks

Create an empty work source.

Java documentation for android.os.WorkSource.WorkSource().

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

WorkSource(WorkSource)

Create a new WorkSource that is a copy of an existing one.

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

Parameters

orig
WorkSource
Attributes

Remarks

Create a new WorkSource that is a copy of an existing one. If <var>orig</var> is null, an empty WorkSource is created.

Java documentation for android.os.WorkSource.WorkSource(android.os.WorkSource).

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

WorkSource(IntPtr, JniHandleOwnership)

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

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

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