public final class DeviceIdManager extends Object
Constructor and Description |
---|
DeviceIdManager() |
Modifier and Type | Method and Description |
---|---|
static DeviceCredentials |
registerDevice(org.apache.http.impl.client.HttpClientBuilder clientBuilder)
Register device.
|
static DeviceCredentials |
registerDevice(UUID applicationId,
org.apache.http.impl.client.HttpClientBuilder clientBuilder)
Register device and generate device credentials.
|
public static DeviceCredentials registerDevice(org.apache.http.impl.client.HttpClientBuilder clientBuilder) throws SAXException, ParserConfigurationException, DeviceRegistrationFailedException, IOException
IOException
DeviceRegistrationFailedException
ParserConfigurationException
SAXException
IllegalStateException
public static DeviceCredentials registerDevice(UUID applicationId, org.apache.http.impl.client.HttpClientBuilder clientBuilder) throws SAXException, ParserConfigurationException, DeviceRegistrationFailedException, IOException
applicationId
- Application IdSAXException
ParserConfigurationException
DeviceRegistrationFailedException
IOException
Copyright © 2010–2017. All rights reserved.