public class SubscribeStreamUserIds extends AbstractModel
Constructor and Description |
---|
SubscribeStreamUserIds() |
SubscribeStreamUserIds(SubscribeStreamUserIds source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getSubscribeAudioUserIds()
Get The allowlist for audio subscription.
|
String[] |
getSubscribeVideoUserIds()
Get The allowlist for video subscription.
|
String[] |
getUnSubscribeAudioUserIds()
Get The blocklist for audio subscription.
|
String[] |
getUnSubscribeVideoUserIds()
Get The blocklist for video subscription.
|
void |
setSubscribeAudioUserIds(String[] SubscribeAudioUserIds)
Set The allowlist for audio subscription.
|
void |
setSubscribeVideoUserIds(String[] SubscribeVideoUserIds)
Set The allowlist for video subscription.
|
void |
setUnSubscribeAudioUserIds(String[] UnSubscribeAudioUserIds)
Set The blocklist for audio subscription.
|
void |
setUnSubscribeVideoUserIds(String[] UnSubscribeVideoUserIds)
Set The blocklist for video subscription.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SubscribeStreamUserIds()
public SubscribeStreamUserIds(SubscribeStreamUserIds source)
public String[] getSubscribeAudioUserIds()
public void setSubscribeAudioUserIds(String[] SubscribeAudioUserIds)
SubscribeAudioUserIds
- The allowlist for audio subscription. For example, `["1", "2", "3"]` means to only subscribe to the audios of users 1, 2, and 3, and ["1.*$"] means to only subscribe to the audios of users whose ID prefix is `1`. If this parameter is left empty, the audios of all anchors in the room will be received. The array can contain at most 32 elements.public String[] getUnSubscribeAudioUserIds()
public void setUnSubscribeAudioUserIds(String[] UnSubscribeAudioUserIds)
UnSubscribeAudioUserIds
- The blocklist for audio subscription. For example, `["1", "2", "3"]` means to not subscribe to the audios of users 1, 2, and 3, and `["1.*$"]` means to not subscribe to users whose ID prefix is `1`. If this parameter is left empty, the audios of all anchors in the room will be received. The array can contain at most 32 elements.public String[] getSubscribeVideoUserIds()
public void setSubscribeVideoUserIds(String[] SubscribeVideoUserIds)
SubscribeVideoUserIds
- The allowlist for video subscription. For example, `["1", "2", "3"]` means to only subscribe to the videos of users 1, 2, and 3, and `["1.*$"]` means to only subscribe to the videos of users whose ID prefix is `1`. If this parameter is left empty, the videos of all anchors in the room will be received. The array can contain at most 32 elements.public String[] getUnSubscribeVideoUserIds()
public void setUnSubscribeVideoUserIds(String[] UnSubscribeVideoUserIds)
UnSubscribeVideoUserIds
- The blocklist for video subscription. For example, `["1", "2", "3"]` means to not subscribe to the videos of users 1, 2, and 3, and `["1.*$"]` means to not subscribe to the videos of users whose ID prefix is `1`. If this parameter is left empty, the videos of all anchors in the room will be received. The array can contain at most 32 elements.Copyright © 2023. All rights reserved.