mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
31 lines
No EOL
797 B
C#
31 lines
No EOL
797 B
C#
using System;
|
|
using PepperDash.Core;
|
|
|
|
namespace PepperDash.Essentials.Core.DeviceInfo
|
|
{
|
|
/// <summary>
|
|
/// Defines the contract for IDeviceInfoProvider
|
|
/// </summary>
|
|
public interface IDeviceInfoProvider:IKeyed
|
|
{
|
|
/// <summary>
|
|
/// Gets the DeviceInfo
|
|
/// </summary>
|
|
DeviceInfo DeviceInfo { get; }
|
|
|
|
/// <summary>
|
|
/// Event fired when DeviceInfo changes
|
|
/// </summary>
|
|
event DeviceInfoChangeHandler DeviceInfoChanged;
|
|
|
|
/// <summary>
|
|
/// Updates the DeviceInfo
|
|
/// </summary>
|
|
void UpdateDeviceInfo();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Delegate for DeviceInfoChangeHandler
|
|
/// </summary>
|
|
public delegate void DeviceInfoChangeHandler(IKeyed device, DeviceInfoEventArgs args);
|
|
} |