Device Class
- java.
lang. Object - RegistryIdentity
- com.
microsoft. azure. sdk. iot. service. registry. Device
- com.
public class Device extends RegistryIdentity
The Device class extends the RegistryIdentity class implementing constructors and serialization functionality.
Constructor Summary
Constructor | Description |
---|---|
Device(String deviceId) |
Creates a device using the given id. The device will use Symmetric Key for authentication. |
Device(String deviceId, AuthenticationType authenticationType) |
Creates a device using the given id. The device will use Symmetric Key for authentication. |
Inherited Members
Constructor Details
Device
public Device(String deviceId)
Creates a device using the given id. The device will use Symmetric Key for authentication.
Parameters:
Device
public Device(String deviceId, AuthenticationType authenticationType)
Creates a device using the given id. The device will use Symmetric Key for authentication.
Parameters:
Applies to
Azure SDK for Java