EMOobModule

Objective-C


@interface EMOobModule : NSObject

Swift

class EMOobModule : NSObject

EMOobModule class which is the entry-point for OOB features.

Since

4.0
  • Create EMOobModule object.

    Since

    4.0

    Declaration

    Objective-C

    + (EMOobModule *)oobModule;

    Return Value

    Oob Module.

  • Creates an instance of OOB Manager with configuration

    Since

    4.0

    Declaration

    Objective-C

    - (id<EMOobManager>)createOobManagerWithURL:(NSURL *)url
                                         domain:(NSString *)domain
                                  applicationId:(NSString *)applicationId
                                    rsaExponent:(NSData *)rsaExponent
                                     rsaModulus:(NSData *)rsaModulus
                                          error:(NSError **)anError;

    Swift

    func createOobManager(with url: URL!, domain: String!, applicationId: String!, rsaExponent: Data!, rsaModulus: Data!) throws -> any EMOobManager

    Parameters

    url

    The URL. Should not be nil.

    domain

    The domain. Should not be nil.

    applicationId

    The applicationId. Should not be nil.

    rsaExponent

    The rsaModulus. Should not be nil.

    rsaModulus

    The rsaModulus. Should not be nil.

    anError

    If an error occurs, upon returns contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in NULL.

    Return Value

    OOB Manager object.

  • Cleanup the data associated with OOB module. All registered clients will be removed for the all application IDs.

    Since

    5.2.0

    Declaration

    Objective-C

    - (_Bool)resetWithApplicationId:(NSString *)applicationId
                              error:(NSError **)error;

    Swift

    func reset(withApplicationId applicationId: String!, error: NSErrorPointer) -> Bool

    Parameters

    applicationId

    The application ID.

    error

    If an error occurs, upon returns it contains an NSError object that describes the problem. If you are not interested in the possible errors, you can pass nil.

    Return Value

    YES if reset is successful.