Class BluetoothTestJob

    • Constructor Detail

      • BluetoothTestJob

        public BluetoothTestJob()
    • Method Detail

      • setOverrideJobId

        public static void setOverrideJobId​(int id)
        Allows configuration of the job id for the Android Job Scheduler. If not configured, this will default to he value in the AndroidManifest.xml WARNING: If using this library in a multi-process application, this method may not work. This is considered a private API and may be removed at any time. the preferred way of setting this is in the AndroidManifest.xml as so:
        Parameters:
        id -
      • getJobId

        public static int getJobId​(Context context)
        Returns the job id to be used to schedule this job. This may be set in the AndroidManifest.xml or in single process applications by using #setOverrideJobId
        Parameters:
        context -
        Returns: