Class ListenerFactory
Sensor Factory for IOS.
Inherited Members
Namespace: Evergine.Common.Input
Assembly: Evergine.Common.dll
Syntax
public abstract class ListenerFactory
Fields
accelerometerListener
The accelerometer.
Declaration
protected IAccelerometerListener accelerometerListener
Field Value
Type | Description |
---|---|
IAccelerometerListener |
compassListener
The compass listener.
Declaration
protected ICompassListener compassListener
Field Value
Type | Description |
---|---|
ICompassListener |
giroscopeListener
The gyroscope listener.
Declaration
protected IGyroscopeListener giroscopeListener
Field Value
Type | Description |
---|---|
IGyroscopeListener |
motionSensorListener
The motion sensor listener.
Declaration
protected IMotionSensorListener motionSensorListener
Field Value
Type | Description |
---|---|
IMotionSensorListener |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
GetAccelerometerListener()
Gets the accelerometer.
Declaration
public IAccelerometerListener GetAccelerometerListener()
Returns
Type | Description |
---|---|
IAccelerometerListener | Accelerometer Sensor. |
GetCompassListener()
Gets the compass listener.
Declaration
public ICompassListener GetCompassListener()
Returns
Type | Description |
---|---|
ICompassListener | Compass Listener. |
GetGyroscopeListener()
Gets the gyroscope listener.
Declaration
public IGyroscopeListener GetGyroscopeListener()
Returns
Type | Description |
---|---|
IGyroscopeListener | Gyroscope Listener. |
GetMotionSensorListener()
Gets the motion listener.
Declaration
public IMotionSensorListener GetMotionSensorListener()
Returns
Type | Description |
---|---|
IMotionSensorListener | Motion Listener. |