Beispiel #1
0
        public static ConnectionListenerResult Notofy2Result(AndroidJavaObject status)
        {
            ConnectionListenerResult result = new ConnectionListenerResult();

            result.status = status.Call <int>("getStatus");
            return(result);
        }
Beispiel #2
0
        public void onNotify(AndroidJavaObject status)
        {
            ConnectionListenerResult result = ConnectionListenerUtils.Notofy2Result(status);

            Loom.QueueOnMainThread(() => {
                mListener(result);
            });
        }