Package velox.api.layer1.messages
Class Layer1ApiSoundAlertMessage.Builder
java.lang.Object
velox.api.layer1.messages.Layer1ApiSoundAlertMessage.Builder
- Enclosing class:
Layer1ApiSoundAlertMessage
Builder to build
Layer1ApiSoundAlertMessage.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(Layer1ApiSoundAlertMessage message) Create a builder with fields prepopulated from the specifiedLayer1ApiSoundAlertMessage. -
Method Summary
Modifier and TypeMethodDescriptionbuild()setAdditionalInfo(String additionalInfo) setAlertDeclarationId(String alertDeclarationId) setMetadata(Object metadata) setPriority(int priority) setRepeatCount(long repeatCount) setRepeatDelay(Duration repeatDelay) setSeverityIcon(Image icon) setShowPopup(boolean showPopup) setSound(byte[] sound) setStatusListener(Layer1ApiSoundAlertMessage.SoundAlertStatusListener statusListener) setTextInfo(String textInfo)
-
Field Details
-
alertDeclarationId
-
-
Constructor Details
-
Builder
Create a builder with fields prepopulated from the specifiedLayer1ApiSoundAlertMessage. Useful if you want to create a message with the same ID and/or slightly changed fields
-
-
Method Details
-
setSound
-
setTextInfo
-
setShowPopup
-
setRepeatCount
-
setRepeatDelay
-
setStatusListener
public Layer1ApiSoundAlertMessage.Builder setStatusListener(Layer1ApiSoundAlertMessage.SoundAlertStatusListener statusListener) -
setSource
-
setMetadata
-
setAlias
-
setPriority
-
setAdditionalInfo
-
setSeverityIcon
-
setAlertDeclarationId
-
build
-