Class CircleBoundary

    Definition

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

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

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

    Constructors

    View Source

    CircleBoundary(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
    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
    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
    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
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX