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.
C#Copypublic class FenceStatus : IDisposable
- Inheritance
-
System.ObjectFenceStatus
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic FenceStatus(int fenceId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | fenceId | The geofence ID. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | In case of an invalid parameter. |
System.NotSupportedException | In case of geofence is not supported. |
API Level: 3
Properties
Declaration
C#Copypublic int Duration { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | In case the geofence is not supported. |
API Level: 3
Declaration
C#Copypublic GeofenceState State { get; }
Property Value
Type | Description |
---|---|
GeofenceState |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | In case the geofence is not supported. |
API Level: 3
Methods
Declaration
C#Copypublic void Dispose()
API Level: 3
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
API Level: 3
Declaration
C#Copyprotected void Finalize()
API Level: 3
Implements
System.IDisposable