public MotionActivityManagerImpl(AndroidContext context, AndroidSqliteDatabase database, IMessageBus messageBus) { this.context = context; this.database = database; this.messageBus = messageBus; this.client = ActivityRecognition.GetClient(context.AppContext); }
public MotionActivityManagerImpl(ShinyCoreServices core, AndroidSqliteDatabase database, ILogger <IMotionActivityManager> logger) { this.core = core; this.database = database; this.logger = logger; this.client = ActivityRecognition.GetClient(core.Android.AppContext); this.eventSubj = new Subject <MotionActivityEvent>(); }
public MotionActivityBroadcastReceiver() { this.messageBus = ShinyHost.Resolve <IMessageBus>(); this.database = ShinyHost.Resolve <AndroidSqliteDatabase>(); }