@Beta public final class PiActionParam extends Object
Constructor and Description |
---|
PiActionParam(PiActionParamId id,
byte value)
Creates an action's runtime parameter for the given param ID and byte
value.
|
PiActionParam(PiActionParamId id,
byte[] value)
Creates an action's runtime parameter for the given param ID and byte
array value.
|
PiActionParam(PiActionParamId id,
ImmutableByteSequence value)
Creates an action's runtime parameter for the given param ID and byte
sequence value.
|
PiActionParam(PiActionParamId id,
int value)
Creates an action's runtime parameter for the given param ID and int
value.
|
PiActionParam(PiActionParamId id,
long value)
Creates an action's runtime parameter for the given param ID and long
value.
|
PiActionParam(PiActionParamId id,
short value)
Creates an action's runtime parameter for the given param ID and short
value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
PiActionParamId |
id()
Returns the identifier of this parameter.
|
String |
toString() |
ImmutableByteSequence |
value()
Returns the value of this parameter.
|
public PiActionParam(PiActionParamId id, ImmutableByteSequence value)
id
- parameter identifiervalue
- valuepublic PiActionParam(PiActionParamId id, byte value)
id
- parameter identifiervalue
- valuepublic PiActionParam(PiActionParamId id, short value)
id
- parameter identifiervalue
- valuepublic PiActionParam(PiActionParamId id, int value)
id
- parameter identifiervalue
- valuepublic PiActionParam(PiActionParamId id, long value)
id
- parameter identifiervalue
- valuepublic PiActionParam(PiActionParamId id, byte[] value)
id
- parameter identifiervalue
- valuepublic PiActionParamId id()
public ImmutableByteSequence value()