Skip to content

MTY_AppSetTimeout

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Set the frequency of an app's MTY_AppFunc if it is not blocked by other means.

void MTY_AppSetTimeout(
    MTY_App * ctx,
    uint32_t  timeout
);

Parameters

ctx (MTY_App *)

The MTY_App.

timeout (uint32_t)

Time to wait in milliseconds between MTY_AppFunc calls.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally