Class LocationBoundary
Definition
- Assembly:
- Tizen.Location.dll
The LocationBoundary class is an abstract class that provides functions related to the geographic bounds information.
public abstract class LocationBoundary : IDisposable
- Inheritance
-
objectLocationBoundary
- Derived
- Implements
-
System.IDisposable
Properties
View SourceBoundaryType
Gets the location boundary type.
Declaration
public BoundaryType BoundaryType { get; }
Property Value
Type | Description |
---|---|
BoundaryType |
Methods
View SourceBoundaryContainsCoordinates(Coordinate)
Checks if the boundary contains the specified geographical coordinates.
Declaration
public bool BoundaryContainsCoordinates(Coordinate coordinate)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | coordinate | The coordinate which needs to be checked. |
Returns
Type | Description |
---|---|
bool | Returns a boolean value indicating whether or not the specified coordinate lies in the geographical area. |
Dispose()
The overidden Dispose method of the IDisposable class.
Declaration
public void Dispose()
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when an invalid argument is used. |
System.NotSupportedException | Thrown when the location is not supported. |
Dispose(bool)
Dispose.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
~LocationBoundary()
The destructor of the LocationBoundary class.
Declaration
protected ~LocationBoundary()
Implements
System.IDisposable