Show / Hide Table of Contents

    Class FenceStatus

    Definition

    Namespace:
    Tizen.Location.Geofence
    Assembly:
    Tizen.Location.Geofence.dll
    API Level:
    3

    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(Int32)

    Creates a new geofence status.

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

    The geofence ID.

    API Level: 3

    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
    Int32
    API Level: 3
    View Source

    State

    Gets the state of geofence.

    Declaration
    public GeofenceState State { get; }
    Property Value
    Type Description
    GeofenceState
    API Level: 3

    Methods

    View Source

    Dispose()

    The overloaded Dispose API for destroying the fence handle.

    Declaration
    public void Dispose()
    API Level: 3
    View Source

    Dispose(Boolean)

    Dispose.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing
    API Level: 3
    View Source

    Finalize()

    The destructor of the FenceStatus class.

    Declaration
    protected void Finalize()
    API Level: 3

    Extension Methods

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