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.

C#
Copy
public class CircleBoundary : LocationBoundary, IDisposable
Inheritance
CircleBoundary
Implements

Constructors

View Source

CircleBoundary(Coordinate, Double)

The constructor of the Circular boundary class.

Declaration
C#
Copy
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 Source

Center

Gets the coordinate of the center of a circular boundary.

Declaration
C#
Copy
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 Source

Radius

Gets the radius of a circular boundary.

Declaration
C#
Copy
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.

API Level: 3

Implements