Skip to content

class SealdMassReencryptOptions

objc
@interface SealdMassReencryptOptions : NSObject

SealdMassReencryptOptions represents options for massReencryptWithDeviceId:options:error: (SealdSdk) function.

MembersDescriptions
retriesNumber of times to retry. Defaults to 3.
retrieveBatchSizeDefault to 1000.
waitBetweenRetriesTime to wait between retries. Defaults to 3 seconds.
waitProvisioningWhether to wait for provisioning (new behaviour) or not. Defaults to YES.
waitProvisioningTimeTime 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.
waitProvisioningTimeMaxMaximum time to wait if device is not provisioned on the server yet. Defaults to 10 seconds.
waitProvisioningTimeStepAmount to increase the time to wait if device is not provisioned on the server yet. Defaults to 1 second.
waitProvisioningRetriesMaximum number of tries to check if the device is provisioned yet. Defaults to 100.
forceLocalAccountUpdateWhether to update the local account before trying the reencryption. Defaults to NO.
initInitialize a SealdMassReencryptOptions instance with default values.

retries

objc
@property (assign) NSInteger retries;

Number of times to retry. Defaults to 3.

retrieveBatchSize

objc
@property (assign) NSInteger retrieveBatchSize;

Default to 1000.

waitBetweenRetries

objc
@property (assign) NSTimeInterval waitBetweenRetries;

Time to wait between retries. Defaults to 3 seconds.

waitProvisioning

objc
@property (assign) BOOL waitProvisioning;

Whether to wait for provisioning (new behaviour) or not. Defaults to YES.

waitProvisioningTime

objc
@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

objc
@property (assign) NSTimeInterval waitProvisioningTimeMax;

Maximum time to wait if device is not provisioned on the server yet. Defaults to 10 seconds.

waitProvisioningTimeStep

objc
@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

objc
@property (assign) NSInteger waitProvisioningRetries;

Maximum number of tries to check if the device is provisioned yet. Defaults to 100.

forceLocalAccountUpdate

objc
@property (assign) BOOL forceLocalAccountUpdate;

Whether to update the local account before trying the reencryption. Defaults to NO.

init

objc
- (instancetype) init;

Initialize a SealdMassReencryptOptions instance with default values.