|
HID APPROVE SDK
6.1
HID Approve SDK for iOS/macOS
|
Factory for creating a new device instance. More...
#import <HIDDevice.h>
Instance Methods | |
| (id< HIDDevice >) | - getDevice:error: |
| Return device instance. More... | |
| (id< HIDDevice >) | - getExportedDevice:withAppGroupId:withKeychainId:error: |
| Return exported device instance. More... | |
| (id< HIDDevice >) | - newInstance:error: |
| Deprecated. Create device instance More... | |
Class Methods | |
| (id) | + factory |
| Instantiate the device factory. | |
| (BOOL) | + reset: |
| Deletes all containers and keys contained in the device. More... | |
| (BOOL) | + reset:withKeychainId:error: |
| Deletes all containers and keys contained in the device and in the shared workspace. More... | |
Factory for creating a new device instance.
| - (id<HIDDevice>) getDevice: | (HIDConnectionConfiguration *) | config | |
| error: | (NSError **) | error | |
Return device instance.
| config | optional connection configuration. |
| error | error details. It may be nil. |
Possible error codes are:
| - (id<HIDDevice>) getExportedDevice: | (HIDConnectionConfiguration *) | config | |
| withAppGroupId: | (NSString *) | appGroupId | |
| withKeychainId: | (NSString *) | keychainId | |
| error: | (NSError **) | error | |
Return exported device instance.
| config | optional connection configuration. |
| appGroupId | the declared id from the application's app-group capability |
| keychainId | the declared id from the application's keychain-sharing capability (prefix with teamid) |
| error | error details. It may be nil. |
Possible error codes are:
| - (id<HIDDevice>) newInstance: | (HIDConnectionConfiguration *) | config | |
| error: | (NSError **) | error | |
Deprecated. Create device instance
| config | optional connection configuration. |
| error | error details. It may be nil. |
Possible error codes are:
| + (BOOL) reset: | (NSError **) | error |
Deletes all containers and keys contained in the device.
| error | error details. It may be nil. |
Possible error codes are:
| + (BOOL) reset: | (NSString *) | appGroupId | |
| withKeychainId: | (NSString *) | keychainId | |
| error: | (NSError **) | error | |
Deletes all containers and keys contained in the device and in the shared workspace.
| error | error details. It may be nil. |
Possible error codes are: