Class CircleBoundary

Definition

Namespace:
Tizen.Location
Assembly:
Tizen.Location.dll

This class represents a circular location boundary. Inherits the Abstract LocationBoundary class.

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

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
System.InvalidOperationException

Thrown when the operation is invalid for the current state.

System.ArgumentException

Thrown when an invalid argument is used.

System.NotSupportedException

Thrown when the location is not supported.

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
System.InvalidOperationException

Thrown when the operation is invalid for the current state.

System.ArgumentException

Thrown when an invalid argument is used.

System.NotSupportedException

Thrown when the location is not supported.

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
System.InvalidOperationException

Thrown when the operation is invalid for the current state.

System.ArgumentException

Thrown when an invalid argument is used.

System.NotSupportedException

Thrown when the location is not supported.

Implements

System.IDisposable