Package com.heroiclabs.nakama.rtapi
Interface StreamPresenceEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamPresenceEvent
,StreamPresenceEvent.Builder
public interface StreamPresenceEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetJoins
(int index) Presences joining the stream as part of this event, if any.int
Presences joining the stream as part of this event, if any.Presences joining the stream as part of this event, if any.getJoinsOrBuilder
(int index) Presences joining the stream as part of this event, if any.List<? extends UserPresenceOrBuilder>
Presences joining the stream as part of this event, if any.getLeaves
(int index) Presences leaving the stream as part of this event, if any.int
Presences leaving the stream as part of this event, if any.Presences leaving the stream as part of this event, if any.getLeavesOrBuilder
(int index) Presences leaving the stream as part of this event, if any.List<? extends UserPresenceOrBuilder>
Presences leaving the stream as part of this event, if any.The stream this event relates to.The stream this event relates to.boolean
The stream this event relates to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStream
boolean hasStream()The stream this event relates to.
.nakama.realtime.Stream stream = 1;
- Returns:
- Whether the stream field is set.
-
getStream
Stream getStream()The stream this event relates to.
.nakama.realtime.Stream stream = 1;
- Returns:
- The stream.
-
getStreamOrBuilder
StreamOrBuilder getStreamOrBuilder()The stream this event relates to.
.nakama.realtime.Stream stream = 1;
-
getJoinsList
List<UserPresence> getJoinsList()Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoins
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoinsCount
int getJoinsCount()Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoinsOrBuilderList
List<? extends UserPresenceOrBuilder> getJoinsOrBuilderList()Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2;
-
getJoinsOrBuilder
Presences joining the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence joins = 2;
-
getLeavesList
List<UserPresence> getLeavesList()Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeaves
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeavesCount
int getLeavesCount()Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeavesOrBuilderList
List<? extends UserPresenceOrBuilder> getLeavesOrBuilderList()Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3;
-
getLeavesOrBuilder
Presences leaving the stream as part of this event, if any.
repeated .nakama.realtime.UserPresence leaves = 3;
-