Exemplo n.º 1
0
        private static void CallAppState(AndroidJavaObject apiClient, string methodName, AndroidJavaProxy callbackProxy, params object[] args)
        {
            AndroidJavaObject androidJavaObject = (AndroidJavaObject)((AndroidJavaObject)AndroidAppStateClient.AppStateManager).CallStatic <AndroidJavaObject>(methodName, AndroidAppStateClient.PrependApiClient(apiClient, args));

            using (androidJavaObject)
                androidJavaObject.Call("setResultCallback", new object[1]
                {
                    (object)callbackProxy
                });
        }
Exemplo n.º 2
0
 private static void CallAppState(AndroidJavaObject apiClient, string methodName, params object[] args)
 {
     ((AndroidJavaObject)AndroidAppStateClient.AppStateManager).CallStatic(methodName, AndroidAppStateClient.PrependApiClient(apiClient, args));
 }