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;
		}
Exemple #3
0
 public abstract void acquireMulticastLock(android.os.IBinder arg1, string arg2);
Exemple #4
0
 public abstract bool releaseWifiLock(android.os.IBinder arg1);
Exemple #5
0
 public static android.content.ISyncStatusObserver asInterface(android.os.IBinder
                                                               obj)
 {
     throw new System.NotImplementedException();
 }
Exemple #6
0
 public static android.hardware.usb.IUsbManager asInterface(android.os.IBinder obj
                                                            )
 {
     throw new System.NotImplementedException();
 }
Exemple #7
0
 public abstract void windowGainedFocus([email protected]
                                        arg1, android.os.IBinder arg2, bool arg3, bool arg4, int arg5, bool arg6, int arg7
                                        );
Exemple #8
0
 public abstract void disable(int arg1, android.os.IBinder arg2, string arg3);
Exemple #9
0
		/// <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
				);
		}
Exemple #10
0
		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);
Exemple #13
0
 public InputBinding(android.view.inputmethod.InputConnection conn, android.os.IBinder
                     connToken, int uid, int pid)
 {
     throw new System.NotImplementedException();
 }
Exemple #14
0
 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)
					{
						;
					}
				}
			}
Exemple #17
0
 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();
			}
Exemple #20
0
 public abstract void showMySoftInput(android.os.IBinder arg1, int arg2);
Exemple #21
0
 public static [email protected] asInterface(android.os.IBinder
                                                                      obj)
 {
     throw new System.NotImplementedException();
 }
Exemple #22
0
 public abstract void updateStatusIcon(android.os.IBinder arg1, string arg2, int arg3
                                       );
Exemple #23
0
 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();
 }
Exemple #24
0
 internal Proxy(android.os.IBinder remote)
 {
     mRemote = remote;
 }
Exemple #25
0
 public virtual void setInputMethod(android.os.IBinder token, string id)
 {
     throw new System.NotImplementedException();
 }
Exemple #26
0
 public abstract void setImeWindowStatus(android.os.IBinder arg1, int arg2, int arg3
                                         );
Exemple #27
0
 public virtual void setInputMethodAndSubtype(android.os.IBinder token, string id,
                                              android.view.inputmethod.InputMethodSubtype subtype)
 {
     throw new System.NotImplementedException();
 }
Exemple #28
0
 internal Proxy(android.os.IBinder remote)
 {
     throw new System.NotImplementedException();
 }
Exemple #29
0
 public virtual void showMySoftInput(android.os.IBinder token, int flags)
 {
     throw new System.NotImplementedException();
 }
Exemple #30
0
 public static android.net.wifi.IWifiManager asInterface(android.os.IBinder obj)
 {
     throw new System.NotImplementedException();
 }
Exemple #31
0
 public virtual void updateStatusIcon(android.os.IBinder token, string packageName
                                      , int iconId)
 {
     throw new System.NotImplementedException();
 }
Exemple #32
0
 public abstract bool acquireWifiLock(android.os.IBinder arg1, int arg2, string arg3
                                      , android.os.WorkSource arg4);
Exemple #33
0
 public virtual void setImeWindowStatus(android.os.IBinder token, int vis, int backDisposition
                                        )
 {
     throw new System.NotImplementedException();
 }
Exemple #34
0
 public virtual bool switchToLastInputMethod(android.os.IBinder token)
 {
     throw new System.NotImplementedException();
 }
Exemple #35
0
 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());
			}
Exemple #37
0
 public abstract void setInputMethodAndSubtype(android.os.IBinder arg1, string arg2
                                               , android.view.inputmethod.InputMethodSubtype arg3);
				internal Proxy(android.os.IBinder remote)
				{
					mRemote = remote;
				}
Exemple #39
0
		internal void setActivityToken(android.os.IBinder token)
		{
			mActivityToken = token;
		}