public void OnServiceConnected(ComponentName name, IBinder service) { ControllerServiceBinder compSvcBinder = (ControllerServiceBinder)service; if (compSvcBinder != null) { this.binder = (ControllerServiceBinder)service; App.SetServiceBinder(this.binder); // this.app.binderSet = true; } }
public static void SetServiceBinder(BackgroundService.ControllerServiceBinder value) { _binder = value; }
public override IBinder OnBind(Intent intent) { this.binder = new ControllerServiceBinder(this); return(this.binder); }
public override IBinder OnBind(Intent intent) { this.binder = new ControllerServiceBinder(this); return this.binder; }