C# Класс Unity.Platform.IPhone.IPhoneGeo

Наследование: Unity.Core.Geo.AbstractGeo
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetAcceleration ( ) : Unity.Core.Geo.Acceleration
GetCoordinates ( ) : Unity.Core.Geo.LocationCoordinate
GetDeviceOrientation ( ) : DeviceOrientation
GetGeoDecoder ( ) : Unity.Core.Geo.GeoDecoderAttributes
GetHeading ( ) : float
GetHeading ( NorthType type ) : float
GetMap ( ) : void
GetPOI ( string id ) : Unity.Core.Geo.POI
GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius ) : Unity.Core.Geo.POI[]
GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius, Unity.Core.Geo.LocationCategory category ) : Unity.Core.Geo.POI[]
GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius, string queryText ) : Unity.Core.Geo.POI[]
GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius, string queryText, Unity.Core.Geo.LocationCategory category ) : Unity.Core.Geo.POI[]
GetVelocity ( ) : float
IPhoneGeo ( ) : System
IsGPSEnabled ( ) : bool
RemovePOI ( string id ) : bool
SetMapSettings ( float scale, float boundingBox ) : void
StartProximitySensor ( ) : bool
StartUpdatingHeading ( ) : bool
StartUpdatingLocation ( ) : bool
StopProximitySensor ( ) : bool
StopUpdatingHeading ( ) : bool
StopUpdatingLocation ( ) : bool
UpdatePOI ( Unity.Core.Geo.POI poi ) : bool

Приватные методы

Метод Описание
LocationManagerSetup ( ) : void

Setup the Location Manager settings (if needed)

OnAuthorizationChanged ( object sender, CLAuthorizationChangedEventArgs e ) : void
ShowMap ( ) : void
addAllAnnotationPinsToMap ( ) : void
cleanAllAnnotationsPins ( ) : void
evaluateLocationCoordinates ( ) : void
evaluateLocationCoordinates ( CLLocation newLocation ) : void
getAllAnnotationPins ( ) : void
getPoiFromId ( string id ) : Unity.Core.Geo.POI
getPoisInRadius ( Unity.Core.Geo.LocationCoordinate location, float radius ) : List
getPoisMatchCategory ( List inPois, Unity.Core.Geo.LocationCategory locCat ) : List
getPoisMatchQuery ( List inPois, string queryString ) : List
initAccelerometre ( ) : void
initMapDatabase ( ) : void
initTable ( string table, string tableColumnDefinitions ) : void
setAnnotationPoints ( ) : void
setMapTypesInMap ( ) : void
setMapView ( ) : void
updateLocationCoordinateTable ( Unity.Core.Geo.POI poi ) : bool
updateLocationDescriptionTable ( Unity.Core.Geo.POI poi ) : bool
updatePoiTable ( Unity.Core.Geo.POI poi ) : bool
updateSecondaryCategoryTable ( Unity.Core.Geo.POI poi ) : bool

Описание методов

GetAcceleration() публичный Метод

public GetAcceleration ( ) : Unity.Core.Geo.Acceleration
Результат Unity.Core.Geo.Acceleration

GetCoordinates() публичный Метод

public GetCoordinates ( ) : Unity.Core.Geo.LocationCoordinate
Результат Unity.Core.Geo.LocationCoordinate

GetDeviceOrientation() публичный Метод

public GetDeviceOrientation ( ) : DeviceOrientation
Результат DeviceOrientation

GetGeoDecoder() публичный Метод

public GetGeoDecoder ( ) : Unity.Core.Geo.GeoDecoderAttributes
Результат Unity.Core.Geo.GeoDecoderAttributes

GetHeading() публичный Метод

public GetHeading ( ) : float
Результат float

GetHeading() публичный Метод

public GetHeading ( NorthType type ) : float
type NorthType
Результат float

GetMap() публичный Метод

public GetMap ( ) : void
Результат void

GetPOI() публичный Метод

public GetPOI ( string id ) : Unity.Core.Geo.POI
id string
Результат Unity.Core.Geo.POI

GetPOIList() публичный Метод

public GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius ) : Unity.Core.Geo.POI[]
location Unity.Core.Geo.LocationCoordinate
radius float
Результат Unity.Core.Geo.POI[]

GetPOIList() публичный Метод

public GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius, Unity.Core.Geo.LocationCategory category ) : Unity.Core.Geo.POI[]
location Unity.Core.Geo.LocationCoordinate
radius float
category Unity.Core.Geo.LocationCategory
Результат Unity.Core.Geo.POI[]

GetPOIList() публичный Метод

public GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius, string queryText ) : Unity.Core.Geo.POI[]
location Unity.Core.Geo.LocationCoordinate
radius float
queryText string
Результат Unity.Core.Geo.POI[]

GetPOIList() публичный Метод

public GetPOIList ( Unity.Core.Geo.LocationCoordinate location, float radius, string queryText, Unity.Core.Geo.LocationCategory category ) : Unity.Core.Geo.POI[]
location Unity.Core.Geo.LocationCoordinate
radius float
queryText string
category Unity.Core.Geo.LocationCategory
Результат Unity.Core.Geo.POI[]

GetVelocity() публичный Метод

public GetVelocity ( ) : float
Результат float

IPhoneGeo() публичный Метод

public IPhoneGeo ( ) : System
Результат System

IsGPSEnabled() публичный Метод

public IsGPSEnabled ( ) : bool
Результат bool

RemovePOI() публичный Метод

public RemovePOI ( string id ) : bool
id string
Результат bool

SetMapSettings() публичный Метод

public SetMapSettings ( float scale, float boundingBox ) : void
scale float
boundingBox float
Результат void

StartProximitySensor() публичный Метод

public StartProximitySensor ( ) : bool
Результат bool

StartUpdatingHeading() публичный Метод

public StartUpdatingHeading ( ) : bool
Результат bool

StartUpdatingLocation() публичный Метод

public StartUpdatingLocation ( ) : bool
Результат bool

StopProximitySensor() публичный Метод

public StopProximitySensor ( ) : bool
Результат bool

StopUpdatingHeading() публичный Метод

public StopUpdatingHeading ( ) : bool
Результат bool

StopUpdatingLocation() публичный Метод

public StopUpdatingLocation ( ) : bool
Результат bool

UpdatePOI() публичный Метод

public UpdatePOI ( Unity.Core.Geo.POI poi ) : bool
poi Unity.Core.Geo.POI
Результат bool