Skip to main content

Class Definition

Represents the definition of a Bluetooth device.

Assembly: Meadow.dll​
View Source​
Declaration
public class Definition : IDefinition

Implements:
Meadow.Gateways.Bluetooth.IDefinition

Properties​

DeviceName​

Gets the device name.

View Source​
Declaration
public string DeviceName { get; }

Services​

Gets the collection of services associated with this device definition.

View Source​
Declaration
public ServiceCollection Services { get; }

Methods​

ToJson()​

Converts the device definition to a JSON string.

View Source​
Declaration
public string ToJson()
Returns​

System.String: A JSON representation of the device definition.

Implements​