Udostępnij za pośrednictwem


ConditionVariable Constructors

Definition

Overloads

ConditionVariable()

Create the ConditionVariable in the default closed state.

ConditionVariable(Boolean)

Create the ConditionVariable with the given state.

ConditionVariable(IntPtr, JniHandleOwnership)

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

ConditionVariable()

Create the ConditionVariable in the default closed state.

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

Remarks

Create the ConditionVariable in the default closed state.

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

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

ConditionVariable(Boolean)

Create the ConditionVariable with the given state.

[Android.Runtime.Register(".ctor", "(Z)V", "")]
public ConditionVariable (bool state);
[<Android.Runtime.Register(".ctor", "(Z)V", "")>]
new Android.OS.ConditionVariable : bool -> Android.OS.ConditionVariable

Parameters

state
Boolean
Attributes

Remarks

Create the ConditionVariable with the given state.

Pass true for opened and false for closed.

Java documentation for android.os.ConditionVariable.ConditionVariable(boolean).

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

ConditionVariable(IntPtr, JniHandleOwnership)

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

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

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