fm.liveswitch.java.Utility Class Reference

Static Public Member Functions

static void dispatchToMainThread (final IAction0 action)
 Dispatches an action to the main thread. More...
 
static void dispatchToMainThread (final IAction0 action, final boolean forceSync)
 Dispatches an action to the main thread. More...
 
static boolean loadLibrary (String library)
 

Member Function Documentation

◆ dispatchToMainThread() [1/2]

static void fm.liveswitch.java.Utility.dispatchToMainThread ( final IAction0  action)
static

Dispatches an action to the main thread.

Parameters
controlThe control.
actionThe action.

◆ dispatchToMainThread() [2/2]

static void fm.liveswitch.java.Utility.dispatchToMainThread ( final IAction0  action,
final boolean  forceSync 
)
static

Dispatches an action to the main thread.

Parameters
controlThe control.
actionThe action.
forceSyncWhether or not to force the action to run synchronously.

◆ loadLibrary()

static boolean fm.liveswitch.java.Utility.loadLibrary ( String  library)
static