Class FenceStatus

    Definition

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

    The geofence status describes the current state and duration of a geofence.

    • State: The state is specified by the current state of the fence.
    • Duration: Geofence is specified by the duration of the current state.
    public class FenceStatus : IDisposable
    Inheritance
    object
    FenceStatus

    Constructors

    View Source

    FenceStatus(int)

    Creates a new geofence status.

    Declaration
    public FenceStatus(int fenceId)
    Parameters
    Type Name Description
    int fenceId

    The geofence ID.

    Properties

    View Source

    Duration

    Gets the amount of seconds, the geofence is in the current state.

    Declaration
    public int Duration { get; }
    Property Value
    Type Description
    int
    View Source

    State

    Gets the state of geofence.

    Declaration
    public GeofenceState State { get; }
    Property Value
    Type Description
    GeofenceState

    Methods

    View Source

    Dispose()

    The overloaded Dispose API for destroying the fence handle.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Dispose.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    ~FenceStatus()

    The destructor of the FenceStatus class.

    Declaration
    protected ~FenceStatus()

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX