/// <summary> /// Cast an IBinder object into an android.view.IRotationWatcher interface, /// generating a proxy if needed. /// </summary> /// <remarks> /// Cast an IBinder object into an android.view.IRotationWatcher interface, /// generating a proxy if needed. /// </remarks> public static android.view.IRotationWatcher asInterface(android.os.IBinder obj) { if ((obj == null)) { return null; } android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR ); if (((iin != null) && (iin is android.view.IRotationWatcher))) { return ((android.view.IRotationWatcher)iin); } return new android.view.IRotationWatcherClass.Stub.Proxy(obj); }
/// <summary> /// Cast an IBinder object into an android.view.IOnKeyguardExitResult interface, /// generating a proxy if needed. /// </summary> /// <remarks> /// Cast an IBinder object into an android.view.IOnKeyguardExitResult interface, /// generating a proxy if needed. /// </remarks> public static android.view.IOnKeyguardExitResult asInterface(android.os.IBinder obj ) { if ((obj == null)) { return null; } android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR ); if (((iin != null) && (iin is android.view.IOnKeyguardExitResult))) { return ((android.view.IOnKeyguardExitResult)iin); } return new android.view.IOnKeyguardExitResultClass.Stub.Proxy(obj); }
/// <summary> /// Cast an IBinder object into an com.android.internal.widget.IRemoteViewsFactory interface, /// generating a proxy if needed. /// </summary> /// <remarks> /// Cast an IBinder object into an com.android.internal.widget.IRemoteViewsFactory interface, /// generating a proxy if needed. /// </remarks> public static [email protected] asInterface(android.os.IBinder obj) { if ((obj == null)) { return null; } android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR ); if (((iin != null) && (iin is [email protected]))) { return (([email protected])iin); } return new [email protected](obj); }
/// <summary> /// Cast an IBinder object into an com.android.internal.policy.IFaceLockInterface interface, /// generating a proxy if needed. /// </summary> /// <remarks> /// Cast an IBinder object into an com.android.internal.policy.IFaceLockInterface interface, /// generating a proxy if needed. /// </remarks> public static [email protected] asInterface(android.os.IBinder obj) { if ((obj == null)) { return null; } android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR ); if (((iin != null) && (iin is [email protected]))) { return (([email protected])iin); } return new [email protected](obj); }
/// <summary> /// Cast an IBinder object into an com.android.internal.appwidget.IAppWidgetHost interface, /// generating a proxy if needed. /// </summary> /// <remarks> /// Cast an IBinder object into an com.android.internal.appwidget.IAppWidgetHost interface, /// generating a proxy if needed. /// </remarks> public static [email protected] asInterface(android.os.IBinder obj) { if ((obj == null)) { return null; } android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR ); if (((iin != null) && (iin is [email protected]))) { return (([email protected])iin); } return new [email protected](obj); }
/// <summary> /// Cast an IBinder object into an com.android.internal.statusbar.IStatusBar interface, /// generating a proxy if needed. /// </summary> /// <remarks> /// Cast an IBinder object into an com.android.internal.statusbar.IStatusBar interface, /// generating a proxy if needed. /// </remarks> public static [email protected] asInterface(android.os.IBinder obj) { if ((obj == null)) { return null; } android.os.IInterface iin = (android.os.IInterface)obj.queryLocalInterface(DESCRIPTOR ); if (((iin != null) && (iin is [email protected]))) { return (([email protected])iin); } return new [email protected](obj); }