HID APPROVE SDK
5.13
HID Approve SDK for iOS/macOS
|
Parent device object used to query device information and discover any active containers. More...
#import <HIDDevice.h>
Instance Methods | |
(id< HIDContainer >) | - createContainer:withSessionPassword:withListener:error: |
Triggers the container activation process to create a new container. More... | |
(BOOL) | - deleteContainer:withSessionPassword:withParams:error: |
Deletes a container identified by its ID. The method notifies the server the container is deleted, thus requires the device to be online. More... | |
(NSArray *) | - findContainers:error: |
Retrieves a container based on input parameter filter. More... | |
(NSString *) | - getDeviceInfo:error: |
Retrieves device information. More... | |
(NSString *) | - getVersion: |
Returns the version of the transaction processor client API. More... | |
(id< HIDServerActionInfo >) | - retrieveActionInfo:error: |
Retrieves and decrypts an encrypted "server action" message received from the server. More... | |
(id< HIDServerActionInfo >) | - retrieveActionInfo:withUserID:error: |
Retrieves and decrypts an encrypted "server action" message received from the server. More... | |
(BOOL) | - setConnectionConfiguration:error: |
Sets connection configuration. More... | |
Parent device object used to query device information and discover any active containers.
- (id<HIDContainer>) createContainer: | (HIDContainerInitialization *) | config | |
withSessionPassword: | (NSString *) | sessionPassword | |
withListener: | (NSObject< HIDProgressListener > *) | listener | |
error: | (NSError **) | error | |
Triggers the container activation process to create a new container.
config | initialization configuration see HIDContainerInitialization for details |
sessionPassword | transaction protection key password (can be nil if not required by the policy) |
listener | A HIDProgressListener implementation to which to report status information or receive password request events. |
error | error details. It may be nil. |
Possible error codes are:
- (BOOL) deleteContainer: | (NSInteger) | containerId | |
withSessionPassword: | (NSString *) | sessionPassword | |
withParams: | (NSArray *) | parameters | |
error: | (NSError **) | error | |
Deletes a container identified by its ID. The method notifies the server the container is deleted, thus requires the device to be online.
containerId | id of the container. |
sessionPassword | transaction protection key password (can be nil if not required by the policy). |
parameters | can be empty (reserved for future use). |
error | error details. It may be nil. |
Possible error codes are:
- (NSArray*) findContainers: | (NSArray *) | filter | |
error: | (NSError **) | error | |
Retrieves a container based on input parameter filter.
filter | array of HIDParameter objects required to specify container |
Filter can indicate:
error | error details. It may be nil. |
Possible error codes are:
- (NSString*) getDeviceInfo: | (NSString *) | propertyId | |
error: | (NSError **) | error | |
Retrieves device information.
propertyId | deviceInfo property to retrieve. |
Supported property names:
error | error details. It may be nil. |
Possible error codes are:
- (NSString*) getVersion: | (NSError **) | error |
Returns the version of the transaction processor client API.
- (id<HIDServerActionInfo>) retrieveActionInfo: | (NSString *) | actionId | |
error: | (NSError **) | error | |
Retrieves and decrypts an encrypted "server action" message received from the server.
actionId | action ID message received in push notification, scan to approve or via HIDContainer.retrieveTransactionsIds() |
error | error details. It may be nil. |
Possible error codes are:
- (id<HIDServerActionInfo>) retrieveActionInfo: | (NSString *) | actionId | |
withUserID: | (NSString *) | userId | |
error: | (NSError **) | error | |
Retrieves and decrypts an encrypted "server action" message received from the server.
actionId | action ID message received in push notification, scan to approve or via HIDContainer.retrieveTransactionsIds() |
userId | user identifier of the container to be used to retrieve action info from (Optional). |
error | error details. It may be nil. |
Possible error codes are:
- (BOOL) setConnectionConfiguration: | (HIDConnectionConfiguration *) | config | |
error: | (NSError **) | error | |
Sets connection configuration.
config | configuration, see HIDConnectionConfiguration for details. |
error | error details. It may be nil. |
Possible error codes are: