public class TagEvent extends GroupEvent<TagEvent.Type,Tag>
Modifier and Type | Class and Description |
---|---|
static class |
TagEvent.Builder |
static class |
TagEvent.Type |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
deviceId()
Present only if the event
TagEvent.Type is TagEvent.Type.DEVICE_TAGGED or TagEvent.Type.DEVICE_UNTAGGED . |
boolean |
equals(Object obj) |
int |
hashCode() |
static TagEvent.Builder |
newBuilder() |
Tag |
tag() |
String |
toString() |
TagEvent.Type |
type() |
identifier, path, source
public static TagEvent.Builder newBuilder()
public TagEvent.Type type()
type
in class GroupEvent<TagEvent.Type,Tag>
public Tag tag()
public Optional<String> deviceId()
TagEvent.Type
is TagEvent.Type.DEVICE_TAGGED
or TagEvent.Type.DEVICE_UNTAGGED
. Indicates the
device that has been tagged/untagged.public int hashCode()
hashCode
in class GroupEvent<TagEvent.Type,Tag>
public boolean equals(Object obj)
equals
in class GroupEvent<TagEvent.Type,Tag>
Copyright © 2022 Bosch.IO GmbH. All rights reserved.