Xsens DOT iOS SDK  ©2022 Xsens Technologies - Version: 2022.0.0
XsensDotRecording.h
Go to the documentation of this file.
1 //
2 // XsensDotRecording.h
3 // XsensDotSdk
4 //
5 // Created by admin on 2020/7/7.
6 // Copyright © 2020 Xsens. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 NS_ASSUME_NONNULL_BEGIN
12 
17 typedef NS_ENUM(NSUInteger, XSRecordingStatus)
18 {
29 };
30 
34 typedef NS_ENUM(NSUInteger, XSExportStatus)
35 {
38 };
39 
43 typedef NS_ENUM(NSUInteger, XSFlashInfoStatus)
44 {
51 };
52 
56 @interface XsensDotRecordingFile : NSObject
57 
61 @property (assign, nonatomic) NSUInteger fileSize;
62 
66 @property (assign, nonatomic) UInt32 timeStamap;
67 
68 @end
69 
73 @interface XsensDotRecording : NSObject
74 
78 @property (assign, nonatomic) XSFlashInfoStatus flashInfoStatus;
79 
83 @property (assign, nonatomic) XSRecordingStatus recordingStatus;
84 
88 @property (copy, nonatomic) void (^updateRecordingStatus)(XSRecordingStatus status);
89 
93 @property (copy, nonatomic) void (^updateExportingStatus)(XSExportStatus status);
94 
98 @property (assign, nonatomic) UInt32 recordingDate;
99 
103 @property (assign, nonatomic) UInt16 recordingTime;
104 
108 @property (assign, nonatomic) UInt32 remainingTime;
109 
113 @property (assign, nonatomic) NSUInteger fileIndex;
114 
118 @property (strong, nonatomic) NSMutableArray <XsensDotRecordingFile *> *files;
119 
123 @property (strong, nonatomic) NSArray *exportFileList;
124 
128 @property (copy, nonatomic) void (^exportFileDone)(NSUInteger index, BOOL result);
129 
130 @end
131 
132 NS_ASSUME_NONNULL_END
@ XSRecordingIsErasing
Definition: XsensDotRecording.h:26
@ XSRecordingIsRecording
Definition: XsensDotRecording.h:22
@ XSRecordingIsFlashInfo
Definition: XsensDotRecording.h:28
@ XSRecordingIsIdle
Definition: XsensDotRecording.h:20
@ XSRecordingIsRecordingStopped
Definition: XsensDotRecording.h:24
@ XSExportIsStopExportingData
Definition: XsensDotRecording.h:37
@ XSExportIsExportingData
Definition: XsensDotRecording.h:36
@ XSFlashInfoIsReady
Definition: XsensDotRecording.h:46
@ XSFlashInfoIsUninitialized
Definition: XsensDotRecording.h:50
@ XSFlashInfoIsFull
Definition: XsensDotRecording.h:48
Definition: XsensDotRecording.h:57
UInt32 timeStamap
Definition: XsensDotRecording.h:66
NSUInteger fileSize
Definition: XsensDotRecording.h:61
Definition: XsensDotRecording.h:74