ACS Audio Jack iOS Library  1.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
ACRTrackData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Advanced Card Systems Ltd. All Rights Reserved.
3  *
4  * This software is the confidential and proprietary information of Advanced
5  * Card Systems Ltd. ("Confidential Information"). You shall not disclose such
6  * Confidential Information and shall use it only in accordance with the terms
7  * of the license agreement you entered into with ACS.
8  */
9 
10 #import <Foundation/Foundation.h>
11 
16 
19 };
20 
25 
27  ACRTrackErrorSS = 0x01,
28  ACRTrackErrorES = 0x02,
31 };
32 
39 @interface ACRTrackData : NSObject {
40 
41  NSUInteger _batteryStatus;
42  NSUInteger _track1Length;
43  NSUInteger _track1ErrorCode;
44  NSUInteger _track2Length;
45  NSUInteger _track2ErrorCode;
46 }
47 
49 @property (nonatomic, readonly) NSUInteger batteryStatus;
50 
52 @property (nonatomic, readonly) NSUInteger track1Length;
53 
55 @property (nonatomic, readonly) NSUInteger track1ErrorCode;
56 
58 @property (nonatomic, readonly) NSUInteger track2Length;
59 
61 @property (nonatomic, readonly) NSUInteger track2ErrorCode;
62 
63 @end
Invalid end sentinel on the track.
Definition: ACRTrackData.h:28
Invalid parity on the track.
Definition: ACRTrackData.h:30
NSUInteger _track1Length
Track 1 length.
Definition: ACRTrackData.h:42
NSUInteger _batteryStatus
Battery status.
Definition: ACRTrackData.h:41
NSUInteger _track1ErrorCode
Track 1 error code.
Definition: ACRTrackData.h:43
Battery is low.
Definition: ACRTrackData.h:17
Invalid start sentinel on the track.
Definition: ACRTrackData.h:27
Battery is full.
Definition: ACRTrackData.h:18
Invalid checksum on the track.
Definition: ACRTrackData.h:29
Success.
Definition: ACRTrackData.h:26
NSUInteger _track2ErrorCode
Track 2 error code.
Definition: ACRTrackData.h:45
ACRBatteryStatus
Battery status.
Definition: ACRTrackData.h:15
The ACRTrackData class represents the track data after swiping a card from the reader.
Definition: ACRTrackData.h:39
ACRTrackError
Track error.
Definition: ACRTrackData.h:24
NSUInteger _track2Length
Track 2 length.
Definition: ACRTrackData.h:44