public override void onServiceConnected(ComponentName componentName, IBinder iBinder) { //JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method: if (typeof(SinchService).FullName.Equals(componentName.ClassName)) { mSinchServiceInterface = (SinchService.SinchServiceInterface) iBinder; onServiceConnected(); } }
public override void onServiceConnected(ComponentName componentName, IBinder iBinder) { if (mIntent == null) { return; } if (SinchHelpers.isSinchPushIntent(mIntent)) { SinchService.SinchServiceInterface sinchService = (SinchService.SinchServiceInterface) iBinder; if (sinchService != null) { NotificationResult result = sinchService.relayRemotePushNotificationPayload(mIntent); // handle result, e.g. show a notification or similar } } GcmBroadcastReceiver.completeWakefulIntent(mIntent); mIntent = null; }
public abstract void acquireMulticastLock(android.os.IBinder arg1, string arg2);
public abstract bool releaseWifiLock(android.os.IBinder arg1);
public static android.content.ISyncStatusObserver asInterface(android.os.IBinder obj) { throw new System.NotImplementedException(); }
public static android.hardware.usb.IUsbManager asInterface(android.os.IBinder obj ) { throw new System.NotImplementedException(); }
public abstract void windowGainedFocus([email protected] arg1, android.os.IBinder arg2, bool arg3, bool arg4, int arg5, bool arg6, int arg7 );
public abstract void disable(int arg1, android.os.IBinder arg2, string arg3);
/// <summary> /// Set the window manager for use by this Window to, for example, /// display panels. /// </summary> /// <remarks> /// Set the window manager for use by this Window to, for example, /// display panels. This is <em>not</em> used for displaying the /// Window itself -- that must be done by the client. /// </remarks> /// <param name="wm">The ViewManager for adding new windows.</param> public virtual void setWindowManager(android.view.WindowManager wm, android.os.IBinder appToken, string appName, bool hardwareAccelerated) { mAppToken = appToken; mAppName = appName; if (wm == null) { wm = android.view.WindowManagerImpl.getDefault(); } mWindowManager = new android.view.Window.LocalWindowManager(this, wm, hardwareAccelerated ); }
internal void attach(android.content.Context context, android.app.ActivityThread aThread, android.app.Instrumentation instr, android.os.IBinder token, int ident, android.app.Application application, android.content.Intent intent, android.content.pm.ActivityInfo info, java.lang.CharSequence title, android.app.Activity parent, string id, android.app.Activity .NonConfigurationInstances lastNonConfigurationInstances, android.content.res.Configuration config) { attachBaseContext(context); mFragments.attachActivity(this); mWindow = [email protected](this); mWindow.setCallback(this); mWindow.getLayoutInflater().setPrivateFactory(this); if (info.softInputMode != android.view.WindowManagerClass.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED) { mWindow.setSoftInputMode(info.softInputMode); } if (info.uiOptions != 0) { mWindow.setUiOptions(info.uiOptions); } mUiThread = java.lang.Thread.currentThread(); mMainThread = aThread; mInstrumentation = instr; mToken = token; mIdent = ident; mApplication = application; mIntent = intent; mComponent = intent.getComponent(); mActivityInfo = info; mTitle = title; mParent = parent; mEmbeddedID = id; mLastNonConfigurationInstances = lastNonConfigurationInstances; mWindow.setWindowManager(null, mToken, mComponent.flattenToString(), (info.flags & android.content.pm.ActivityInfo.FLAG_HARDWARE_ACCELERATED) != 0); if (mParent != null) { mWindow.setContainer(mParent.getWindow()); } mWindowManager = mWindow.getWindowManager(); mCurrentConfig = config; }
public static [email protected] asInterface (android.os.IBinder obj) { throw new System.NotImplementedException(); }
public abstract void startUi(android.os.IBinder arg1, int arg2, int arg3, int arg4 , int arg5);
public InputBinding(android.view.inputmethod.InputConnection conn, android.os.IBinder connToken, int uid, int pid) { throw new System.NotImplementedException(); }
public override void attachToken(android.os.IBinder token) { throw new System.NotImplementedException(); }
public static android.accounts.IAccountManager asInterface(android.os.IBinder obj ) { throw new System.NotImplementedException(); }
public override void onServiceConnected(ComponentName className, IBinder binder) { Log.d(TAG, "onServiceConnected"); outerInstance.mService = new WeakReference<MainService>(((MainService.LocalBinder) binder).getMainService(outerInstance)); // Connection bridge is set to the FloatingController. // You can have only one AudioAppConnectionBridge in the application // so you need to pass it from service to FloatingController. if (outerInstance.mService != null && outerInstance.mService.get() != null && outerInstance.mFloatingController != null) { try { outerInstance.mFloatingController.SapaAppService = outerInstance.mService.get().SapaAppService; } catch (System.NullReferenceException) { ; } } // Set buttons in state from the service. if (outerInstance.mVisibleAppInfo != null) { outerInstance.CurrentState = outerInstance.mVisibleAppInfo.App; } if (outerInstance.mService != null && outerInstance.mService.get() != null) { try { outerInstance.updateVolumeTextView(outerInstance.mService.get().getVolumeText(outerInstance.mVisibleAppInfo)); } catch (System.NullReferenceException) { ; } } }
public abstract bool switchToLastInputMethod(android.os.IBinder arg1);
public static android.content.IIntentReceiver asInterface(android.os.IBinder obj) { throw new System.NotImplementedException(); }
public override void onServiceConnected(ComponentName className, IBinder binder) { Log.d(TAG, "onServiceConnected"); outerInstance.mService = new WeakReference<MainService>(((MainService.LocalBinder) binder).getMainService(outerInstance)); // Connection bridge is set to the FloatingController. // You can have only one AudioAppConnectionBridge in the application // so you need to pass it from service to FloatingController. if (outerInstance.mService != null && outerInstance.mService.get() != null && outerInstance.mFloatingController != null) { try { outerInstance.mFloatingController.SapaAppService = outerInstance.mService.get().SapaAppService; } catch (System.NullReferenceException) { ; } } outerInstance.setButtonsState(); }
public abstract void showMySoftInput(android.os.IBinder arg1, int arg2);
public static [email protected] asInterface(android.os.IBinder obj) { throw new System.NotImplementedException(); }
public abstract void updateStatusIcon(android.os.IBinder arg1, string arg2, int arg3 );
public virtual void windowGainedFocus([email protected] client , android.os.IBinder windowToken, bool viewHasFocus, bool isTextEditor, int softInputMode , bool first, int windowFlags) { throw new System.NotImplementedException(); }
internal Proxy(android.os.IBinder remote) { mRemote = remote; }
public virtual void setInputMethod(android.os.IBinder token, string id) { throw new System.NotImplementedException(); }
public abstract void setImeWindowStatus(android.os.IBinder arg1, int arg2, int arg3 );
public virtual void setInputMethodAndSubtype(android.os.IBinder token, string id, android.view.inputmethod.InputMethodSubtype subtype) { throw new System.NotImplementedException(); }
internal Proxy(android.os.IBinder remote) { throw new System.NotImplementedException(); }
public virtual void showMySoftInput(android.os.IBinder token, int flags) { throw new System.NotImplementedException(); }
public static android.net.wifi.IWifiManager asInterface(android.os.IBinder obj) { throw new System.NotImplementedException(); }
public virtual void updateStatusIcon(android.os.IBinder token, string packageName , int iconId) { throw new System.NotImplementedException(); }
public abstract bool acquireWifiLock(android.os.IBinder arg1, int arg2, string arg3 , android.os.WorkSource arg4);
public virtual void setImeWindowStatus(android.os.IBinder token, int vis, int backDisposition ) { throw new System.NotImplementedException(); }
public virtual bool switchToLastInputMethod(android.os.IBinder token) { throw new System.NotImplementedException(); }
public abstract void setInputMethod(android.os.IBinder arg1, string arg2);
public override void onServiceConnected(ComponentName className, IBinder binder) { ((ClearNotificationService.ClearBinder) binder).service.startService(new Intent(outerInstance, typeof(ClearNotificationService))); NotificationManager mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); mNotificationManager.notify(ClearNotificationService.NOTIFICATION_ID, outerInstance.mNotifyBuilder.build()); }
public abstract void setInputMethodAndSubtype(android.os.IBinder arg1, string arg2 , android.view.inputmethod.InputMethodSubtype arg3);
internal void setActivityToken(android.os.IBinder token) { mActivityToken = token; }