Language

TrainingIntervalSchedulingMode Enum

Definition

Identifies whether a federated compute training task runs one time or again at intervals.

public enum TrainingIntervalSchedulingMode
type TrainingIntervalSchedulingMode = 
Inheritance
TrainingIntervalSchedulingMode

Fields

Name Value Description
OneTime 1

The scheduling mode for a one-off task.

Android reference for android.adservices.ondevicepersonalization.TrainingInterval.SCHEDULING_MODE_ONE_TIME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Recurrent 2

The scheduling mode for a task that will be rescheduled after each run.

Android reference for android.adservices.ondevicepersonalization.TrainingInterval.SCHEDULING_MODE_RECURRENT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The values correspond to the SCHEDULING_MODE_ constants in Android's TrainingInterval. The SchedulingMode fields and the SchedulingMode property of TrainingInterval use this type. SetSchedulingMode(Int32) takes the value as an integer, and the default is one time. See the scheduling mode constants.

Applies to