Interface IDefinition
Represents the definition of a Bluetooth device.
Assembly: Meadow.Contracts.dll
View Source
public interface IDefinition
Properties
DeviceName
Gets the name of the Bluetooth device.
View Source
string DeviceName { get; }
Services
Gets the collection of services associated with the Bluetooth device.
View Source
ServiceCollection Services { get; }
Methods
ToJson()
Converts the definition to its JSON representation.
View Source
string ToJson()
Returns
System.String
: The JSON representation of the definition.