SetTouchModeCommand

public class SetTouchModeCommand extends ProtoCommandRequest

Command for setting theTouchModefor a component.

A command can be send to a connected tag viaConnectedJacquardTag

Constructors

SetTouchModeCommand

public SetTouchModeCommand(Component component, TouchMode touchMode)

Creates a new instance of SetTouchModeCommand and when executed will set TouchMode to the component.

Parameters

Name Description
Component component

the connected component to change touch mode for.

TouchMode touchMode

the touch mode to apply.

Methods

parseResponse

public Result<Response> parseResponse(byte[] respByte)

Parameters

Name Description
byte[] respByte

ReturnValue

Name Description
Result<Response>

getRequest

public Request getRequest()

ReturnValue

Name Description
Request