Skip to main content

Interface IDefinition

Represents the definition of a Bluetooth device.

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface IDefinition

Properties​

DeviceName​

Gets the name of the Bluetooth device.

View Source​
Declaration
string DeviceName { get; }

Services​

Gets the collection of services associated with the Bluetooth device.

View Source​
Declaration
ServiceCollection Services { get; }

Methods​

ToJson()​

Converts the definition to its JSON representation.

View Source​
Declaration
string ToJson()
Returns​

System.String: The JSON representation of the definition.