Enable Detections

SENTEnableDetectionsResult

@interface SENTEnableDetectionsResult : SENTDetectionsOperationResult

SENTEnableDetectionsError

@interface SENTEnableDetectionsError : NSObject

SENTEnableDetectionsFailureReason

typedef NS_ENUM(NSUInteger, SENTEnableDetectionsFailureReason)
TypeValueDescription

reasonNoUser

0

No user present on the device. Call createUserWithOptions:completionHandler:to create a user.

reasonPastExpiryDate

1

Expiry date is in past.

reasonUserDisabledRemotely

2

The user is disabled remotely.

SENTEnableDetectionsCompletionHandler

typedef void (^SENTEnableDetectionsCompletionHandler)(SENTEnableDetectionsResult *_Nullable result,
                                                      SENTEnableDetectionsError *_Nullable error);

Last updated