共用方式為


SyncFence.AwaitForever Method

Definition

Waits forever for a SyncFence to signal.

[Android.Runtime.Register("awaitForever", "()Z", "", ApiSince=33)]
public bool AwaitForever ();
[<Android.Runtime.Register("awaitForever", "()Z", "", ApiSince=33)>]
member this.AwaitForever : unit -> bool

Returns

true if the fence signaled or isn't valid, false otherwise.

Attributes

Remarks

Waits forever for a SyncFence to signal.

An invalid SyncFence, that is if #isValid() is false, is treated equivalently to a SyncFence that has already signaled. That is, wait() will immediately return true.

Java documentation for android.hardware.SyncFence.awaitForever().

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