Sdílet prostřednictvím


AtomicBoolean.Opaque Property

Definition

Returns the current value, with memory effects as specified by VarHandle#getOpaque. -or- Sets the value to newValue, with memory effects as specified by VarHandle#setOpaque.

public bool Opaque { [Android.Runtime.Register("getOpaque", "()Z", "", ApiSince=33)] get; [Android.Runtime.Register("setOpaque", "(Z)V", "", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getOpaque", "()Z", "", ApiSince=33)>]
[<set: Android.Runtime.Register("setOpaque", "(Z)V", "", ApiSince=33)>]
member this.Opaque : bool with get, set

Property Value

the value

Attributes

Remarks

Property getter documentation:

Returns the current value, with memory effects as specified by VarHandle#getOpaque.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicBoolean.getOpaque().

Property setter documentation:

Sets the value to newValue, with memory effects as specified by VarHandle#setOpaque.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicBoolean.setOpaque(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