HID APPROVE SDK  5.12
HID Approve SDK for iOS/macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
HIDParameter Class Reference

Represents a parameter consisting of an id/value pair. More...

#import <HIDParameter.h>

Inheritance diagram for HIDParameter:

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.
 

Detailed Description

Represents a parameter consisting of an id/value pair.

Reserved for future use, a type and encoding attribute are also available to represent more complex data.

Method Documentation

- (id) initWithString: (NSString *)  value
forKey: (NSString *)  key 

Initializes an instance of parameter with specified key and value.

Parameters
valuethe parameter value.
keythe parameter key.
Returns
an instance of HIDParameter.

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.

Parameters
valuethe parameter value.
keythe parameter key.
Returns
an instance of HIDParameter.

Encoding is HIDParameterEncodingNone (HIDParameterEncoding) and type is HIDParameterTypeString (HIDParameterType).