Beispiel #1
0
 public static void EnqueueWork(Context context, Intent work)
 => JobIntentService.EnqueueWork(context, Java.Lang.Class.FromType(typeof(ExposureNotificationCallbackService)), JobId, work);
        public static void EnqueueWork(Context context, Intent work)
        {
            ComponentName component = new ComponentName(context, Java.Lang.Class.FromType(typeof(JobService)).Name);

            JobIntentService.EnqueueWork(context, component, JOB_ID, work);
        }
Beispiel #3
0
 public static void Enqueue(Context context, Intent intent)
 {
     JobIntentService.EnqueueWork(context, Java.Lang.Class.FromType(typeof(BootService)), JobId, new Intent());
 }