Pikkart AR SDK  3.1
iOS SDK references
PKTRecognitionOptions.h
1 /* ===============================================================================
2  * Copyright (c) 2016 Pikkart S.r.l. All Rights Reserved.
3  * Pikkart is a trademark of Pikkart S.r.l., registered in Europe,
4  * the United States and other countries.
5  *
6  * This file is part of Pikkart AR Recognition SDK.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ===============================================================================*/
20 
21 #import <Foundation/Foundation.h>
22 #import "PKTCloudRecognitionInfo.h"
23 
26 typedef NS_ENUM(int, PKTRecognitionStorage) {
27  PKTLOCAL,
28  PKTGLOBAL
29 };
30 
33 typedef NS_ENUM(NSUInteger, PKTRecognitionMode)
34 {
35  PKTRECOGNITION_TAP_TO_SCAN = 0,
36  PKTRECOGNITION_CONTINUOS_SCAN
37 };
38 
47 @interface PKTRecognitionOptions : NSObject
48 
49 
56 +(PKTRecognitionOptions *)PKTRecognitionOptionsWithRecognitionStorage:(PKTRecognitionStorage)storage
57  andMode:(PKTRecognitionMode)mode
58  andCloudAuthInfo:(PKTCloudRecognitionInfo *)cloudAuthInfo;
59 
66 -(instancetype) initWithRecognitionStorage:(PKTRecognitionStorage)storage
67  andMode:(PKTRecognitionMode)mode
68  andCloudAuthInfo:(PKTCloudRecognitionInfo *)cloudAuthInfo;
69 
74 @property (nonatomic) PKTRecognitionStorage storage;
75 
80 @property (nonatomic) PKTRecognitionMode mode;
81 
86 @property (nonatomic) PKTCloudRecognitionInfo * cloudAuthInfo;
87 
88 @end
PKTRecognitionMode mode
Get mode parameter.
Definition: PKTRecognitionOptions.h:80
A class that encapsulates the information for the connection to the Pikkart Cloud Recognition Service...
Definition: PKTCloudRecognitionInfo.h:29
PKTRecognitionStorage storage
Get storage parameter.
Definition: PKTRecognitionOptions.h:74
Pikkart Recognition Process tracking options.
Definition: PKTRecognitionOptions.h:47