CommissioningWindow

public final class CommissioningWindow extends Object
implements Parcelable

Representation of a commissioning window which has been opened for a device.

Nested Class Summary

class CommissioningWindow.Builder Builder class to generate CommissioningWindow instances. 

Inherited Constant Summary

Public Method Summary

static CommissioningWindow.Builder
builder()
Returns an empty CommissioningWindow.Builder instance.
boolean
Discriminator
getDiscriminator()
The discriminator used to identify the device associated to this commissioning window.
long
getDurationSeconds()
The duration of time (in seconds) for which the commissioning window will remain open.
long
getPasscode()
The passcode for the device.
long
getWindowOpenMillis()
The time at which the commissioning window was opened.
int
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static CommissioningWindow.Builder builder ()

Returns an empty CommissioningWindow.Builder instance.

public boolean equals (Object obj)

public Discriminator getDiscriminator ()

The discriminator used to identify the device associated to this commissioning window.

public long getDurationSeconds ()

The duration of time (in seconds) for which the commissioning window will remain open.

public long getPasscode ()

The passcode for the device.

public long getWindowOpenMillis ()

The time at which the commissioning window was opened. The time basis for this request must be SystemClock.elapsedRealtime(), rather than System.currentTimeMillis().

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)