Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IFence

interface IFence
Extends com.amazon.apmf.IStandard Fence is a synchronization primitive that can be used to insert a dependency in the Client API command stream for GPU or display subsystems. GPU usage is managed by getFence and insertFence APIs of Context. [IContext#getFence] [IContext#insertFence]

Methods

wait()

void wait()
Wait for the fence to be signaled.

isValid()

bool isValid()
Query if the fence is still valid to wait

Returns

bool True if the fence is still valid to wait
Last modified on October 29, 2026