Tango.TangoCloudEventListener.OnCloudEventAvailable C# (CSharp) Method

OnCloudEventAvailable() private method

Handle the callback from UnitySendMessage on TangoApplication when a new event is issued.
private OnCloudEventAvailable ( int key, int value ) : void
key int Tango cloud event key.
value int Tango cloud event value.
return void
        internal void OnCloudEventAvailable(int key, int value)
        {
                lock (m_lockObject)
                {
                    m_events.Add(new KeyValuePair<int, int>(key, value));
                    m_isDirty = true;
                }
            }
    }