Class CircleBoundary
Definition
- Namespace:
- Tizen.Location
- Assembly:
- Tizen.Location.dll
- API Level:
- 3
This class represents a circular location boundary. Inherits the Abstract LocationBoundary class.
public class CircleBoundary : LocationBoundary, IDisposable
- Inheritance
- Implements
Constructors
View SourceCircleBoundary(Coordinate, Double)
The constructor of the Circular boundary class.
Declaration
public CircleBoundary(Coordinate coordinate, double radius)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | coordinate | The coordinates which constitute the center of the circular boundary. |
Double | radius | The radius value of the circular boundary. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when the operation is invalid for the current state. |
ArgumentException | Thrown when an invalid argument is used. |
NotSupportedException | Thrown when the location is not supported. |
API Level: 3
Properties
View SourceCenter
Gets the coordinate of the center of a circular boundary.
Declaration
public Coordinate Center { get; }
Property Value
Type | Description |
---|---|
Coordinate |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when the operation is invalid for the current state. |
ArgumentException | Thrown when an invalid argument is used. |
NotSupportedException | Thrown when the location is not supported. |
API Level: 3
View SourceRadius
Gets the radius of a circular boundary.
Declaration
public double Radius { get; }
Property Value
Type | Description |
---|---|
Double |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when the operation is invalid for the current state. |
ArgumentException | Thrown when an invalid argument is used. |
NotSupportedException | Thrown when the location is not supported. |