EMCapService Class Reference

Inherits from NSObject
Declared in EMCapService.h

Overview

CAP Service

+ serviceWithModule:

Designated constructor. Returns the EMCapService object created using the EMOtpModule

+ (EMCapService *)serviceWithModule:(EMOtpModule *)module

Parameters

module

an instance of EMOtpModule

Return Value

EMCapService module instance.

Availability

4.0

Declared In

EMCapService.h

– capFactory

Returns Factory for creating CAP settings and CAP devices.

- (EMCapFactory *)capFactory

Return Value

EMCapFactory object.

Availability

4.0

Declared In

EMCapService.h

– tokenManager:

Returns object which confirms to EMCapTokenManager protocol for CAP tokens. Note an error could return if database file is not decrypted in time, please try again.

- (id<EMCapTokenManager>)tokenManager:(NSError **)error

Parameters

error

if error occurs, relevant information shall be stored here.

Return Value

object which confirms to EMCapTokenManager protocol.

Availability

4.0

Declared In

EMCapService.h