HID APPROVE SDK
6.1
HID Approve SDK for iOS/macOS
Toggle main menu visibility
Loading...
Searching...
No Matches
HIDParameter.h
Go to the documentation of this file.
1
/* ---------------------------------------------------------------------------
2
(c) 2015-2025, HID Global Corporation, part of ASSA ABLOY.
3
All rights reserved.
4
5
Redistribution and use in source and binary forms, with or without modification,
6
are permitted provided that the following conditions are met:
7
- Redistributions of source code must retain the above copyright notice,
8
this list of conditions and the following disclaimer.
9
- Redistributions in binary form must reproduce the above copyright notice,
10
this list of conditions and the following disclaimer in the documentation
11
and/or other materials provided with the distribution.
12
13
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
17
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
--------------------------------------------------------------------------- */
24
25
#import <Foundation/Foundation.h>
26
32
36
typedef
enum
37
{
38
HIDParameterEncodingNone,
39
HIDParameterEncodingBase64,
40
HIDParameterEncodingByteArray,
41
HIDParameterEncodingHex,
42
HIDParameterEncodingDecimal,
43
HIDParameterEncodingUTF8,
44
HIDParameterEncodingDefault = 0
45
}
HIDParameterEncoding
;
46
50
typedef
enum
51
{
52
HIDParameterTypeString,
53
HIDParameterTypeInteger,
54
HIDParameterTypeByteArray,
55
HIDParameterTypeLong,
56
HIDParameterTypeDefault=0
57
}
HIDParameterType
;
58
64
@interface
HIDParameter
: NSObject
65
69
@property
(nonatomic,retain) NSString*
key
;
70
74
@property
(nonatomic,retain) NSString*
value
;
75
79
@property
(nonatomic,assign)
HIDParameterEncoding
encoding
;
80
84
@property
(nonatomic,assign)
HIDParameterType
type
;
85
95
+ (id)parameterWithString:(NSString*)value forKey:(NSString*)key;
96
106
- (id)initWithString:(NSString*)value forKey:(NSString*)key;
107
108
@end
HIDParameterType
HIDParameterType
Value types.
Definition
HIDParameter.h:51
HIDParameterEncoding
HIDParameterEncoding
Encoding types.
Definition
HIDParameter.h:37
HIDParameter
Represents a parameter consisting of an id/value pair.
Definition
HIDParameter.h:65
HIDParameter::encoding
HIDParameterEncoding encoding
The parameter encoding.
Definition
HIDParameter.h:79
HIDParameter::key
NSString * key
The parameter key.
Definition
HIDParameter.h:69
HIDParameter::value
NSString * value
The parameter value.
Definition
HIDParameter.h:74
HIDParameter::type
HIDParameterType type
The parameter type.
Definition
HIDParameter.h:84
doxygen.in
acmobile
HIDParameter.h
Generated on
for HID APPROVE SDK by
1.17.0