summaryrefslogtreecommitdiff
path: root/api/franca/navigation/navigationcore/LocationInputTypes.fidl
blob: 41c4e92564bb0eb63eb184a76b7fe7a0ac8e7e9d (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* 
SPDX-License-Identifier: MPL-2.0
Copyright (C) 2014, PCA Peugeot Citro�n, XS Embedded GmbH, TomTom International B.V., Continental Automotive GmbH, BMW Car IT GmbH,  Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD.,  Neusoft Technology Solutions GmbH, Jaguar Land Rover Limited, Visteon Corporation, Elektrobit Automotive GmbH
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
this file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package org.genivi.navigation.navigationcore
import org.genivi.navigation.NavigationTypes.* from "../NavigationTypes.fidl"

typeCollection LocationInputTypes {
	
//	enumeration AddressAttribute extends GeoLocalizedEnum { //Base 0x00a0
	enumeration AddressAttribute  { //Base 0x00a0
		INVALID 	= 0
		TIMESTAMP	= 16
		LATITUDE	= 160
		LONGITUDE	= 161
		ALTITUDE	= 162
		COUNTRY			= 166
		STATE			= 167
		CITY			= 168
		ZIPCODE			= 169
		STREET			= 170
		HOUSENUMBER		= 171
		CROSSING		= 172
		DISTRICT		= 173
		PHONENUMBER		= 174
		POINAME			= 175
		TOWNCENTER		= 176
		LOCATION_INPUT  = 177
		FULL_ADDRESS	= 178
		COUNTRYCODE		= 179
		HOUSENAME		= 180
		POSTAL_CODE		= 181
	}
	
//	enumeration SearchStatus extends BasicEnum {
	enumeration SearchStatus { //Base 0x00c0
		INVALID 	= 0
  		SEARCHING		= 193
  		FINISHED 		= 194		
	}
	
//	enumeration ValidationType extends BasicEnum { //Base 0x00d0
	enumeration ValidationType { //Base 0x00d0
		INVALID 	= 0
		OK				= 208
		UNKNOWN			= 209
		AMBIGUOUS		= 210
		INCONSISTENT	= 211
	}
	
	array AddressAttributeList of AddressAttribute

    union AddressValue {
	    Int32 intValue
	    Double doubleValue
	    String stringValue
	    Coordinate3D coordinateValue
	    ByteBuffer internalData
    }

	map Address {
		AddressAttribute to AddressValue
	}

	map ValidationStatus {
		AddressAttribute to ValidationType
	}	
	
}