-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy pathViroConstants.ts
37 lines (34 loc) · 1.09 KB
/
ViroConstants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* Copyright (c) 2017-present, Viro, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ViroRecordingErrorConstants
* @providesModule ViroRecordingErrorConstants
* @providesModule ViroARTrackingReasonConstants
*/
export enum ViroRecordingErrorConstants {
// Viro recording error constants
RECORD_ERROR_NONE = -1,
RECORD_ERROR_UNKNOWN = 0,
RECORD_ERROR_NO_PERMISSION = 1,
RECORD_ERROR_INITIALIZATION = 2,
RECORD_ERROR_WRITE_TO_FILE = 3,
RECORD_ERROR_ALREADY_RUNNING = 4,
RECORD_ERROR_ALREADY_STOPPED = 5,
}
export enum ViroTrackingStateConstants {
// Viro AR Tracking constants,
TRACKING_UNAVAILABLE = 1,
TRACKING_LIMITED = 2,
TRACKING_NORMAL = 3,
}
export enum ViroARTrackingReasonConstants {
// Viro AR Tracking reason constants,
TRACKING_REASON_NONE = 1,
TRACKING_REASON_EXCESSIVE_MOTION = 2,
TRACKING_REASON_INSUFFICIENT_FEATURES = 3,
}