Class GpsSatellite
Definition
- Namespace:
- Tizen.Location
- Assembly:
- Tizen.Location.dll
- API Level:
- 3
This class contains the functionality for obtaining information about GPS satellites in the range and in use.
C#Copypublic class GpsSatellite
- Inheritance
-
GpsSatellite
Constructors
Declaration
C#Copypublic GpsSatellite(Locator locator)
Parameters
Type | Name | Description |
---|---|---|
Locator | locator | The locator object initilized using GPS. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when an invalid argument is used. |
API Level: 3
Properties
Declaration
C#Copypublic int ActiveCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
System.ArgumentException | Thrown when an invalid argument is used. |
UnauthorizedAccessException | Thrown when the application has no privilege to use the location. |
System.NotSupportedException | Thrown when the location is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location
Interval
The time interval between callback updates. Should be in the range of 1~120 seconds.
Declaration
C#Copypublic int Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when an an invalid argument is used. |
API Level: 3
Declaration
C#Copypublic int InViewCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
System.ArgumentException | Thrown when an invalid argument is used. |
UnauthorizedAccessException | Thrown when the application has no privilege to use the location. |
System.NotSupportedException | Thrown when the location is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location
Declaration
C#Copypublic string Nmea { get; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
System.ArgumentException | Thrown when an invalid argument is used. |
UnauthorizedAccessException | Thrown when the application has no privilege to use the location. |
System.NotSupportedException | Thrown when the location is not supported. |
API Level: 3
Declaration
C#Copypublic IList<SatelliteInformation> Satellites { get; }
Property Value
Type | Description |
---|---|
IList<SatelliteInformation> |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
System.ArgumentException | Thrown when an invalid argument is used. |
UnauthorizedAccessException | Thrown when the application has no privilege to use the location. |
System.NotSupportedException | Thrown when the location is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/location
Events
SatelliteStatusUpdated
The SatelliteStatusUpdated event is raised whenever the satellite information is updated. The callback will be invoked periodically (every Interval seconds).
Declaration
C#Copypublic event EventHandler<SatelliteStatusChangedEventArgs> SatelliteStatusUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<SatelliteStatusChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when an invalid argument is used. |
UnauthorizedAccessException | Thrown when the application has no privilege to use the location. |
System.NotSupportedException | Thrown when the location is not supported. |