public static interface ShareDeviceRequest.Builder
百度 截止上午9点钟,仅为了“谁当主席”,蓝绿双方就爆发了两次肢体冲突。
Builder class to generate
ShareDeviceRequest
instances.
Public Method Summary
abstract ShareDeviceRequest |
build()
Builds a new instance of
ShareDeviceRequest
|
abstract ShareDeviceRequest.Builder |
setCommissioningWindow(CommissioningWindow
commissioningWindow)
Sets the
CommissioningWindow opened for the device being shared.
|
abstract ShareDeviceRequest.Builder |
setDeviceDescriptor(DeviceDescriptor
deviceDescriptor)
Sets the
DeviceDescriptor of the device being shared.
|
abstract ShareDeviceRequest.Builder | |
abstract ShareDeviceRequest.Builder |
setNetworkLocation(NetworkLocation
networkLocation)
Sets the network location of the device being shared.
|
abstract ShareDeviceRequest.Builder |
Public Methods
public abstract ShareDeviceRequest build ()
Builds a new instance of
ShareDeviceRequest
Throws
IllegalStateException | if any of CommissioningWindow, DeviceDescriptor, or DeviceName are not specified. |
---|
public abstract ShareDeviceRequest.Builder setCommissioningWindow (CommissioningWindow commissioningWindow)
Sets the
CommissioningWindow
opened for the device being shared.
public abstract ShareDeviceRequest.Builder setDeviceDescriptor (DeviceDescriptor deviceDescriptor)
Sets the DeviceDescriptor
of the device being shared.
public abstract ShareDeviceRequest.Builder setDeviceName (String deviceName)
Sets the device name of the device being shared.
public abstract ShareDeviceRequest.Builder setNetworkLocation (NetworkLocation networkLocation)
Sets the network location of the device being shared.
public abstract ShareDeviceRequest.Builder setRoomName (String roomName)
Sets the room name of the device being shared.