Exemplo n.º 1
0
        public static Com.Dcms.Clientv3.IDCMSAidl AsInterface(global::Android.OS.IBinder obj)
        {
            if (obj == null)
            {
                return(null);
            }
            var iin = (global::Android.OS.IInterface)obj.QueryLocalInterface(descriptor);

            if (iin != null && iin is Com.Dcms.Clientv3.IDCMSAidl)
            {
                return((Com.Dcms.Clientv3.IDCMSAidl)iin);
            }
            return(new Proxy(obj));
        }
Exemplo n.º 2
0
        public static IGuardAidl AsInterface(global::Android.OS.IBinder obj)
        {
            if (obj == null)
            {
                return(null);
            }
            var iin = (global::Android.OS.IInterface)obj.QueryLocalInterface(descriptor);

            if (iin != null && iin is IGuardAidl aidl)
            {
                return(aidl);
            }
            return(new Proxy(obj));
        }
Exemplo n.º 3
0
        public static Com.Fanjun.Keeplive.Service.IGuardAidl AsInterface(global::Android.OS.IBinder obj)
        {
            if (obj == null)
            {
                return(null);
            }
            var iin = (global::Android.OS.IInterface)obj.QueryLocalInterface(descriptor);

            if (iin != null && iin is Com.Fanjun.Keeplive.Service.IGuardAidl)
            {
                return((Com.Fanjun.Keeplive.Service.IGuardAidl)iin);
            }
            return(new Proxy(obj));
        }
        public static Com.Android.Vending.Billing.IInAppBillingService AsInterface(global::Android.OS.IBinder obj)
        {
            if (obj == null)
            {
                return(null);
            }
            var iin = (global::Android.OS.IInterface)obj.QueryLocalInterface(descriptor);

            if (iin != null && iin is Com.Android.Vending.Billing.IInAppBillingService)
            {
                return((Com.Android.Vending.Billing.IInAppBillingService)iin);
            }
            return(new Proxy(obj));
        }