void onSessionEvent(SessionEventType type, string sessionid) { if (type == SessionEventType.kStopped || type == SessionEventType.kClosed) { is_done_ = true; } }
private void OnEvent(SessionEventType type) { if (type == SessionEventType.DemuxSuccess) { Debug.Log("Demux Success"); } }
private void OnSessionEvent(int playerID, SessionEventType type) { if (playerID != this.playerID) { return; } if (onSessionEvent != null) { onSessionEvent(type); } }
void onSessionEvent(SessionEventType type, string sessionid) { if (type == SessionEventType.kConnected) { // All transports are connected. } else if (type == SessionEventType.kStopped) { // All transports are stopped. } }
void onSessionEvent(SessionEventType type, string sessionid) { if (type == SessionEventType.kOpened) { setButtonState(true); } else if (type == SessionEventType.kStopped) { if (!session_test_) { closeSession(); } } }
void OnSessionEvent(SessionEventType type, string sessionId) { if (type == SessionEventType.kConnected) { login_button_.interactable = true; } else if (type == SessionEventType.kStopped) { if (facebook_.IsLoggedIn) { facebook_.Logout(); logged_in_ = false; } } }
void onSessionEvent(SessionEventType type, string sessionid) { if (type == SessionEventType.kConnected) { if (ConnectedCallback != null) { ConnectedCallback(this); } } else if (type == SessionEventType.kStopped) { if (StoppedCallback != null) { StoppedCallback(this); } } }
public SessionEvent(SessionEventType eventType) { EventType = eventType; }
public SessionEventArgs(SessionEventType type, List <Order> list = null, string message = null) { EventType = type; Message = message; OrderList = list ?? new List <Order>(); }
private void RaiseSessionEvent(SessionEventType eventType, dynamic data) { Always(() => eventCallback(new SessionEvent() { EventType = eventType, RecordingId = RecordingId, TimeStamp = DateTimeOffset.Now, Data = data })); }
public static void OnSessionEvent(this IDatabase database, string userName, int commitId, SessionEventType eventType) { database.OnEvent(new SessionEvent(userName, commitId, eventType)); }
public SessionEvent(string userName, int commitId, SessionEventType eventType) { UserName = userName; CommitId = commitId; EventType = eventType; }
void onSessionEvent(SessionEventType type, string session_id) { }
private void onSessionEvent(SessionEventType type, string session_id) { Debug.LogFormat("[{0}] onSessionEvent - <color=blue>{1}</color>", nameof(NetworkManager), type); }
private void onSessionEventReceived(SessionEventType type, string session_id) { // TODO(sorae): impl.. }