class SealdMassReencryptOptions
@interface SealdMassReencryptOptions : NSObject
SealdMassReencryptOptions represents options for massReencryptWithDeviceId:options:error: (SealdSdk) function.
Members | Descriptions |
---|---|
retries | Number of times to retry. Defaults to 3. |
retrieveBatchSize | Default to 1000. |
waitBetweenRetries | Time to wait between retries. Defaults to 3 seconds. |
waitProvisioning | Whether to wait for provisioning (new behaviour) or not. Defaults to YES . |
waitProvisioningTime | Time to wait if device is not provisioned on the server yet. The actual wait time will be increased on subsequent tries, by waitProvisioningTimeStep , up to waitProvisioningTimeMax . Defaults to 5 seconds. |
waitProvisioningTimeMax | Maximum time to wait if device is not provisioned on the server yet. Defaults to 10 seconds. |
waitProvisioningTimeStep | Amount to increase the time to wait if device is not provisioned on the server yet. Defaults to 1 second. |
waitProvisioningRetries | Maximum number of tries to check if the device is provisioned yet. Defaults to 100. |
forceLocalAccountUpdate | Whether to update the local account before trying the reencryption. Defaults to NO . |
init | Initialize a SealdMassReencryptOptions instance with default values. |
retries
@property (assign) NSInteger retries;
Number of times to retry. Defaults to 3.
retrieveBatchSize
@property (assign) NSInteger retrieveBatchSize;
Default to 1000.
waitBetweenRetries
@property (assign) NSTimeInterval waitBetweenRetries;
Time to wait between retries. Defaults to 3 seconds.
waitProvisioning
@property (assign) BOOL waitProvisioning;
Whether to wait for provisioning (new behaviour) or not. Defaults to YES
.
waitProvisioningTime
@property (assign) NSTimeInterval waitProvisioningTime;
Time to wait if device is not provisioned on the server yet. The actual wait time will be increased on subsequent tries, by waitProvisioningTimeStep
, up to waitProvisioningTimeMax
. Defaults to 5 seconds.
waitProvisioningTimeMax
@property (assign) NSTimeInterval waitProvisioningTimeMax;
Maximum time to wait if device is not provisioned on the server yet. Defaults to 10 seconds.
waitProvisioningTimeStep
@property (assign) NSTimeInterval waitProvisioningTimeStep;
Amount to increase the time to wait if device is not provisioned on the server yet. Defaults to 1 second.
waitProvisioningRetries
@property (assign) NSInteger waitProvisioningRetries;
Maximum number of tries to check if the device is provisioned yet. Defaults to 100.
forceLocalAccountUpdate
@property (assign) BOOL forceLocalAccountUpdate;
Whether to update the local account before trying the reencryption. Defaults to NO
.
init
- (instancetype) init;
Initialize a SealdMassReencryptOptions instance with default values.