コード例 #1
0
		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();
			}
		}
コード例 #2
0
		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;
		}
コード例 #3
0
ファイル: IWifiManager.cs プロジェクト: zhouweiaccp/XobotOS
 public abstract void acquireMulticastLock(android.os.IBinder arg1, string arg2);
コード例 #4
0
ファイル: IWifiManager.cs プロジェクト: zhouweiaccp/XobotOS
 public abstract bool releaseWifiLock(android.os.IBinder arg1);
コード例 #5
0
 public static android.content.ISyncStatusObserver asInterface(android.os.IBinder
                                                               obj)
 {
     throw new System.NotImplementedException();
 }
コード例 #6
0
 public static android.hardware.usb.IUsbManager asInterface(android.os.IBinder obj
                                                            )
 {
     throw new System.NotImplementedException();
 }
コード例 #7
0
 public abstract void windowGainedFocus([email protected]
                                        arg1, android.os.IBinder arg2, bool arg3, bool arg4, int arg5, bool arg6, int arg7
                                        );
コード例 #8
0
 public abstract void disable(int arg1, android.os.IBinder arg2, string arg3);
コード例 #9
0
ファイル: Window.cs プロジェクト: skaslev/XobotOS
		/// <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
				);
		}
コード例 #10
0
ファイル: Activity.cs プロジェクト: hakeemsm/XobotOS
		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;
		}
コード例 #11
0
 public static [email protected] asInterface
     (android.os.IBinder obj)
 {
     throw new System.NotImplementedException();
 }
コード例 #12
0
 public abstract void startUi(android.os.IBinder arg1, int arg2, int arg3, int arg4
                              , int arg5);
コード例 #13
0
ファイル: InputBinding.cs プロジェクト: zhouweiaccp/XobotOS
 public InputBinding(android.view.inputmethod.InputConnection conn, android.os.IBinder
                     connToken, int uid, int pid)
 {
     throw new System.NotImplementedException();
 }
コード例 #14
0
 public override void attachToken(android.os.IBinder token)
 {
     throw new System.NotImplementedException();
 }
コード例 #15
0
 public static android.accounts.IAccountManager asInterface(android.os.IBinder obj
                                                            )
 {
     throw new System.NotImplementedException();
 }
コード例 #16
0
			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)
					{
						;
					}
				}
			}
コード例 #17
0
 public abstract bool switchToLastInputMethod(android.os.IBinder arg1);
コード例 #18
0
 public static android.content.IIntentReceiver asInterface(android.os.IBinder obj)
 {
     throw new System.NotImplementedException();
 }
コード例 #19
0
			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();
			}
コード例 #20
0
 public abstract void showMySoftInput(android.os.IBinder arg1, int arg2);
コード例 #21
0
 public static [email protected] asInterface(android.os.IBinder
                                                                      obj)
 {
     throw new System.NotImplementedException();
 }
コード例 #22
0
 public abstract void updateStatusIcon(android.os.IBinder arg1, string arg2, int arg3
                                       );
コード例 #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();
 }
コード例 #24
0
 internal Proxy(android.os.IBinder remote)
 {
     mRemote = remote;
 }
コード例 #25
0
 public virtual void setInputMethod(android.os.IBinder token, string id)
 {
     throw new System.NotImplementedException();
 }
コード例 #26
0
 public abstract void setImeWindowStatus(android.os.IBinder arg1, int arg2, int arg3
                                         );
コード例 #27
0
 public virtual void setInputMethodAndSubtype(android.os.IBinder token, string id,
                                              android.view.inputmethod.InputMethodSubtype subtype)
 {
     throw new System.NotImplementedException();
 }
コード例 #28
0
 internal Proxy(android.os.IBinder remote)
 {
     throw new System.NotImplementedException();
 }
コード例 #29
0
 public virtual void showMySoftInput(android.os.IBinder token, int flags)
 {
     throw new System.NotImplementedException();
 }
コード例 #30
0
ファイル: IWifiManager.cs プロジェクト: zhouweiaccp/XobotOS
 public static android.net.wifi.IWifiManager asInterface(android.os.IBinder obj)
 {
     throw new System.NotImplementedException();
 }
コード例 #31
0
 public virtual void updateStatusIcon(android.os.IBinder token, string packageName
                                      , int iconId)
 {
     throw new System.NotImplementedException();
 }
コード例 #32
0
ファイル: IWifiManager.cs プロジェクト: zhouweiaccp/XobotOS
 public abstract bool acquireWifiLock(android.os.IBinder arg1, int arg2, string arg3
                                      , android.os.WorkSource arg4);
コード例 #33
0
 public virtual void setImeWindowStatus(android.os.IBinder token, int vis, int backDisposition
                                        )
 {
     throw new System.NotImplementedException();
 }
コード例 #34
0
 public virtual bool switchToLastInputMethod(android.os.IBinder token)
 {
     throw new System.NotImplementedException();
 }
コード例 #35
0
 public abstract void setInputMethod(android.os.IBinder arg1, string arg2);
コード例 #36
0
			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());
			}
コード例 #37
0
 public abstract void setInputMethodAndSubtype(android.os.IBinder arg1, string arg2
                                               , android.view.inputmethod.InputMethodSubtype arg3);
コード例 #38
0
				internal Proxy(android.os.IBinder remote)
				{
					mRemote = remote;
				}
コード例 #39
0
ファイル: ContextImpl.cs プロジェクト: hakeemsm/XobotOS
		internal void setActivityToken(android.os.IBinder token)
		{
			mActivityToken = token;
		}