|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 inline TInt CApaDataRecognizerType::MimeTypesCount() const |
|
17 /** Gets the number of data (MIME) types supported by this recognizer. |
|
18 |
|
19 @return The number of data types. |
|
20 @see iCountDataTypes */ |
|
21 { |
|
22 return iCountDataTypes; |
|
23 } |
|
24 |
|
25 inline TUid CApaDataRecognizerType::TypeUid() const |
|
26 /** Gets the UID that identifies the recognizer. |
|
27 |
|
28 @return The UID. */ |
|
29 { |
|
30 return iTypeUid; |
|
31 } |
|
32 |
|
33 inline TInt CApaDataRecognizerType::Priority() const |
|
34 /** Gets the recognizer's priority. |
|
35 |
|
36 The priority defines the likelihood that the recognizer will successfully |
|
37 identify data. This is one of the CApaDataRecognizerType::TRecognizerPriority |
|
38 enumerators. |
|
39 |
|
40 @return The priority value. |
|
41 @see CApaDataRecognizerType::TRecognizerPriority */ |
|
42 { |
|
43 return iPriority; |
|
44 } |
|
45 |
|
46 inline TInt CApaDataRecognizerType::Confidence() const |
|
47 /** Gets the recognizer's confidence rating for the most recently recognized data. |
|
48 |
|
49 @return The confidence rating. This is one of the TRecognitionConfidence enumeration |
|
50 values. |
|
51 @see CApaDataRecognizerType::TRecognitionConfidence |
|
52 @see iConfidence */ |
|
53 { |
|
54 return iConfidence; |
|
55 } |
|
56 |
|
57 inline TInt CApaDataRecognizerType::Locked() const |
|
58 /** Tests whether the recognizer is locked. |
|
59 |
|
60 @return If zero, the recognizer is not locked; if greater than 0, the recognizer |
|
61 is locked. |
|
62 @see Lock() |
|
63 @see Unlock() */ |
|
64 { |
|
65 return iLock; |
|
66 } |
|
67 |
|
68 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
69 |
|
70 // Deprecated - Use CApaDataRecognizer::AddDataRecognizerTypeL instead |
|
71 // as adding a concrete recognizer into the list could leave. |
|
72 /** |
|
73 @deprecated 7.0s |
|
74 */ |
|
75 inline void CApaDataRecognizer::AddDataRecognizerType(CApaDataRecognizerType* aDataRecognizerType) |
|
76 { |
|
77 AddDataRecognizerTypeL(aDataRecognizerType); |
|
78 } |
|
79 |
|
80 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |