This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
mochapine64backup/MoCha/Assets/Pedometer/Plugins/Managed/IPedometer.cs
2018-04-10 12:44:50 -05:00

33 lines
No EOL
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
}
}