33 lines
799 B
C#
33 lines
799 B
C#
![]() |
/*
|
||
|
* Pedometer
|
||
|
* Copyright (c) 2017 Yusuf Olokoba
|
||
|
*/
|
||
|
|
||
|
namespace PedometerU.Platforms {
|
||
|
|
||
|
public interface IPedometer {
|
||
|
|
||
|
#region --Properties--
|
||
|
/// <summary>
|
||
|
/// Event used to propagate step events
|
||
|
/// </summary>
|
||
|
event StepCallback OnStep;
|
||
|
/// <summary>
|
||
|
/// Is this implementation supported by the current platform?
|
||
|
/// </summary>
|
||
|
bool IsSupported {get;}
|
||
|
#endregion
|
||
|
|
||
|
|
||
|
#region --Client API--
|
||
|
/// <summary>
|
||
|
/// Initialize this Pedometer implementation
|
||
|
/// </summary>
|
||
|
IPedometer Initialize ();
|
||
|
/// <summary>
|
||
|
/// Teardown this Pedometer implementation and release any resources
|
||
|
/// </summary>
|
||
|
void Release ();
|
||
|
#endregion
|
||
|
}
|
||
|
}
|