CommissioningCompleteMetadata

public final class CommissioningCompleteMetadata extends Object
implements Parcelable

Metadata to be returned after successfully commissioning a device.

Nested Class Summary

class CommissioningCompleteMetadata.Builder Builder class to generate CommissioningCompleteMetadata instances. 

Inherited Constant Summary

Public Method Summary

static CommissioningCompleteMetadata.Builder
boolean
equals(Object other)
String
getDeviceNameHint()
Return a suggested name for the commissioned device.
List<Room>
getRooms()
This method is deprecated. rooms are no longer presented as part of the commissioning flow; room selection should be done within your own application
String
getToken()
Returns an opaque token identifying the device that was commissioned, if specified.
int
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static CommissioningCompleteMetadata.Builder builder ()

Returns an empty CommissioningCompleteMetadata.Builder instance.

public boolean equals (Object other)

public String getDeviceNameHint ()

Return a suggested name for the commissioned device. This is not required, and if not supplied, a suggestion will be generated for you.

public List<Room> getRooms ()

This method is deprecated.
rooms are no longer presented as part of the commissioning flow; room selection should be done within your own application

Returns a list of rooms the user will be asked to choose from. If your application does not group devices into logical rooms, this list can be omitted and left empty.

public String getToken ()

Returns an opaque token identifying the device that was commissioned, if specified.

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)