FederatedComputeScheduler.Params Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FederatedComputeScheduler.Params(TrainingInterval) |
Creates scheduling parameters with the specified training interval. |
| FederatedComputeScheduler.Params(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
FederatedComputeScheduler.Params(TrainingInterval)
Creates scheduling parameters with the specified training interval.
[Android.Runtime.Register(".ctor", "(Landroid/adservices/ondevicepersonalization/TrainingInterval;)V", "", ApiSince=35)]
public Params(Android.AdServices.OnDevicePersonalization.TrainingInterval trainingInterval);
[<Android.Runtime.Register(".ctor", "(Landroid/adservices/ondevicepersonalization/TrainingInterval;)V", "", ApiSince=35)>]
new Android.AdServices.OnDevicePersonalization.FederatedComputeScheduler.Params : Android.AdServices.OnDevicePersonalization.TrainingInterval -> Android.AdServices.OnDevicePersonalization.FederatedComputeScheduler.Params
Parameters
- trainingInterval
- TrainingInterval
The training interval for the task.
- Attributes
Remarks
See the constructor.
Applies to
FederatedComputeScheduler.Params(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected Params(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.AdServices.OnDevicePersonalization.FederatedComputeScheduler.Params : nativeint * Android.Runtime.JniHandleOwnership -> Android.AdServices.OnDevicePersonalization.FederatedComputeScheduler.Params
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
The runtime calls this constructor to create a managed representation of an existing Java object.