CommissioningRequest

public final class CommissioningRequest extends Object
implements Parcelable

Request to commission a device, either for an uncommissioned device, or a device which has been opened for multi-administrator commissioning.

Nested Class Summary

interface CommissioningRequest.Builder Builder for constructing a CommissioningRequest instance. 

Inherited Constant Summary

Public Method Summary

static CommissioningRequest.Builder
builder()
Returns an empty CommissioningRequest.Builder instance.
boolean
equals(Object other)
ComponentName
getCommissioningService()
Returns the ComponentName of an exported service which will return a CommissioningService in its Service.onBind(Intent) implementation.
DeviceInfo
getDeviceInfo()
Returns information about the target device to be commissioned, if specified.
String
getDeviceNameHint()
Returns the suggested name for the device being commissioned, if specified.
String
getOnboardingPayload()
Returns the onboarding payload (e.g.
int
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static CommissioningRequest.Builder builder ()

Returns an empty CommissioningRequest.Builder instance.

public boolean equals (Object other)

public ComponentName getCommissioningService ()

Returns the ComponentName of an exported service which will return a CommissioningService in its Service.onBind(Intent) implementation.

public DeviceInfo getDeviceInfo ()

Returns information about the target device to be commissioned, if specified.

public String getDeviceNameHint ()

Returns the suggested name for the device being commissioned, if specified.

public String getOnboardingPayload ()

Returns the onboarding payload (e.g. QR code text, manual pairing code) of the target device, if specified.

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)