AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
Loading...
Searching...
No Matches
com.alivc.live.annotations.AlivcLivePushKickedOutType Enum Reference

The specific reason for being kicked out. More...

Public Member Functions

 AlivcLivePushKickedOutType (int code)
 
int getCode ()
 

Static Public Member Functions

static AlivcLivePushKickedOutType fromCode (int code)
 

Public Attributes

 BE_KICK_OUT =(1)
 
 CHANNEL_TERMINATED =(2)
 
 USER_REPLACED =(3)
 

Detailed Description

The specific reason for being kicked out.

Author
aliyun live push sdk
Date
2023/5/9
Attention
This API is only supported in the interactive mode currently
See also
com.alivc.live.pusher.AlivcLivePushInfoListener::onKickedOutByServer(com.alivc.live.pusher.AlivcLivePusher, AlivcLivePushKickedOutType)

Definition at line 14 of file AlivcLivePushKickedOutType.java.

Constructor & Destructor Documentation

◆ AlivcLivePushKickedOutType()

com.alivc.live.annotations.AlivcLivePushKickedOutType.AlivcLivePushKickedOutType ( int  code)

Definition at line 35 of file AlivcLivePushKickedOutType.java.

Member Function Documentation

◆ fromCode()

static AlivcLivePushKickedOutType com.alivc.live.annotations.AlivcLivePushKickedOutType.fromCode ( int  code)
static

Return corresponding enumeration based on value.

Parameters
codevalue
Returns
enumeration

Definition at line 54 of file AlivcLivePushKickedOutType.java.

◆ getCode()

int com.alivc.live.annotations.AlivcLivePushKickedOutType.getCode ( )

Get code for being kicked out

Returns
the code for being kicked out

Definition at line 44 of file AlivcLivePushKickedOutType.java.

Member Data Documentation

◆ BE_KICK_OUT

com.alivc.live.annotations.AlivcLivePushKickedOutType.BE_KICK_OUT =(1)

current user is kicked out from the live room and needs to exit

Definition at line 19 of file AlivcLivePushKickedOutType.java.

◆ CHANNEL_TERMINATED

com.alivc.live.annotations.AlivcLivePushKickedOutType.CHANNEL_TERMINATED =(2)

The live room is destroyed, need to exit

Definition at line 24 of file AlivcLivePushKickedOutType.java.

◆ USER_REPLACED

com.alivc.live.annotations.AlivcLivePushKickedOutType.USER_REPLACED =(3)

The same userId enters the live room on other devices, and the current device will be offline

Definition at line 29 of file AlivcLivePushKickedOutType.java.