class VsyncSource
Defined at line 1174 of file fidling/gen/sdk/fidl/fuchsia.ui.display.singleton/fuchsia.ui.display.singleton/hlcpp/fuchsia/ui/display/singleton/cpp/fidl.h
Public Members
static const char[] Name_
Public Methods
void ~VsyncSource ()
void SetVsyncEnabled (bool enabled)
Enables or disables receiving `OnVsync` for the given display.
The client receives `OnVsync` callbacks iff this function is called with `enabled=true`.
Calling this with `enabled=false` stops generating callbacks. Note that there may be a
race with a server receiving this and extra `OnVsync` may be received.
By default, the listener is assumed to have called `enabled=false`.