HID APPROVE SDK
5.7.1
HID APPROVE SDK for iOS
|
Represents a parameter or option where the ID and value are enforced to be of type NSString. More...
#import <HIDParameter.h>
Instance Methods | |
(id) | - initWithString:forKey: |
Initializes an instance of parameter with specified key and value. More... | |
Class Methods | |
(id) | + parameterWithString:forKey: |
Creates an instance of parameter with specified key and value. More... | |
Properties | |
HIDParameterEncoding | encoding |
The parameter encoding. | |
NSString * | key |
The parameter key. | |
HIDParameterType | type |
The parameter type. | |
NSString * | value |
The parameter value. | |
Represents a parameter or option where the ID and value are enforced to be of type NSString.
A type and encoding attribute are also available to represent more complex data that is to be sent or received. These might be useful, for example, when transporting a complex binary object.
Example: For an ASN.1-encoded RSA private key the Parameter may be:
- (id) initWithString: | (NSString *) | value | |
forKey: | (NSString *) | key | |
Initializes an instance of parameter with specified key and value.
value | the parameter value. |
key | the parameter key. |
Encoding is HIDParameterEncodingNone (HIDParameterEncoding) and type is HIDParameterTypeString (HIDParameterType).
+ (id) parameterWithString: | (NSString *) | value | |
forKey: | (NSString *) | key | |
Creates an instance of parameter with specified key and value.
value | the parameter value. |
key | the parameter key. |
Encoding is HIDParameterEncodingNone (HIDParameterEncoding) and type is HIDParameterTypeString (HIDParameterType).