public void onInitStateChanged(InitStateChangedEvent e) { if (StateChanged != null) { StateChanged(this, e); } }
/// <summary> /// /// </summary> /// <param name="ptr"></param> /// <param name="err"></param> /// <param name="h"></param> private static void onInitComplete(IntPtr ptr, ref ADLError err, IntPtr h) { InitStateChangedEvent.InitState state; if (err.err_code == 0) { _platformHandle = h; _service = new CloudeoServiceImpl(h); state = InitStateChangedEvent.InitState.INITIALIZED; } else { state = InitStateChangedEvent.InitState.ERROR; } if (_listener != null) { InitStateChangedEvent e = new InitStateChangedEvent(state, err.err_code, err.err_message.body); _listener.onInitStateChanged(e); } }
public void onInitStateChanged(InitStateChangedEvent e) { if (e.state == InitStateChangedEvent.InitState.INITIALIZED) { _form.onPlatformReady(); } }
public void onInitStateChanged(InitStateChangedEvent e) { _initState = e.state; _errMsg = e.errMessage; _latch.Signal(); }
public void onInitStateChanged(InitStateChangedEvent e) { if (StateChanged != null) StateChanged(this, e); }