Class EOS_RTC_BlockParticipantCallbackInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.rtc.callbackresults.EOS_RTC_BlockParticipantCallbackInfo
- Direct Known Subclasses:
EOS_RTC_BlockParticipantCallbackInfo.ByReference
,EOS_RTC_BlockParticipantCallbackInfo.ByValue
@FieldOrder({"ResultCode","ClientData","LocalUserId","RoomName","ParticipantId","IsBlocked"})
public class EOS_RTC_BlockParticipantCallbackInfo
extends com.sun.jna.Structure
This struct is passed in with a call to EOS_RTC_OnBlockParticipantCallback.
- Since:
- 11/01/2023
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptioncom.sun.jna.Pointer
Client-specified data passed into EOS_RTC_BlockParticipant.The block state that should have been setThe Product User ID of the user who initiated this request.The Product User ID of the participant being blockedThis returns:
EOS_EResult.EOS_Success
if the channel was successfully blocked
EOS_EResult.EOS_InvalidParameters
if any of the parameters are incorrect
EOS_EResult.EOS_NotFound
if either the local user or specified participant are not in the specified room
EOS_EResult.EOS_RTC_UserIsInBlocklist
if the user is in one of the platform's applicable block lists and thus an RTC unblock is not allowed.
EOS_EResult.EOS_UnexpectedError
otherwise.The room the users should be blocked on.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
ResultCode
This returns:
EOS_EResult.EOS_Success
if the channel was successfully blocked
EOS_EResult.EOS_InvalidParameters
if any of the parameters are incorrect
EOS_EResult.EOS_NotFound
if either the local user or specified participant are not in the specified room
EOS_EResult.EOS_RTC_UserIsInBlocklist
if the user is in one of the platform's applicable block lists and thus an RTC unblock is not allowed.
EOS_EResult.EOS_UnexpectedError
otherwise. -
ClientData
public com.sun.jna.Pointer ClientDataClient-specified data passed into EOS_RTC_BlockParticipant. -
LocalUserId
The Product User ID of the user who initiated this request. -
RoomName
The room the users should be blocked on. -
ParticipantId
The Product User ID of the participant being blocked -
IsBlocked
The block state that should have been set
-
-
Constructor Details
-
EOS_RTC_BlockParticipantCallbackInfo
public EOS_RTC_BlockParticipantCallbackInfo() -
EOS_RTC_BlockParticipantCallbackInfo
public EOS_RTC_BlockParticipantCallbackInfo(com.sun.jna.Pointer peer)
-