CrSDK class

Available extensions

Constructors

CrSDK()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLocMixerOutput(String mixerID, List<CrMixerOutPutCfg> mixerOutPutCfgs) Future<int>

Available on CrSDK, provided by the CrRecordApi extension

closeMic(String userID) Future<void>

Available on CrSDK, provided by the CrAudioApi extension

closeVideo(String userID) Future<void>

Available on CrSDK, provided by the CrVideoApi extension

createLocMixer(String mixerID, CrMixerCfg mixerCfg, List<CrMixerCotentRect> mixerCotentRect) Future<int>

Available on CrSDK, provided by the CrRecordApi extension

createMediaView(dynamic onViewCreated(int viewID), {Key? key}) Widget

Available on CrSDK, provided by the ClouroomPlatformViewUtils extension

createMeeting() Future<CrMeetInfo>

Available on CrSDK, provided by the CrRoomApi extension

createPlatformView(dynamic onViewCreated(int viewID), {Key? key}) Widget

Available on CrSDK, provided by the ClouroomPlatformViewUtils extension

createScreenShareView(dynamic onViewCreated(int viewID), {Key? key}) Widget

Available on CrSDK, provided by the ClouroomPlatformViewUtils extension

destroyLocMixer(String mixerID) Future<void>

Available on CrSDK, provided by the CrRecordApi extension

destroyMediaView(int viewID) Future<bool>

Available on CrSDK, provided by the ClouroomPlatformViewUtils extension

destroyMeeting(int meetID) Future<int>

Available on CrSDK, provided by the CrRoomApi extension

destroyPlatformView(int viewID) Future<bool>

Available on CrSDK, provided by the ClouroomPlatformViewUtils extension

destroyScreenShareView(int viewID) Future<bool>

Available on CrSDK, provided by the ClouroomPlatformViewUtils extension

enterMeeting(int meetID) Future<int>

Available on CrSDK, provided by the CrRoomApi extension

exitMeeting() Future<void>

Available on CrSDK, provided by the CrRoomApi extension

getAllCloudMixerInfo() Future<String>

Available on CrSDK, provided by the CrRecordApi extension

getAllMembers() Future<List<CrMemberInfo>>

Available on CrSDK, provided by the CrMemberApi extension

getAllVideoInfo(String userID) Future<List<CrCameraInfo>>

Available on CrSDK, provided by the CrVideoApi extension

getAudioCfg() Future<CrAudioCfg>

Available on CrSDK, provided by the CrAudioApi extension

getAudioStatus(String userID) Future<CR_ASTATUS>

Available on CrSDK, provided by the CrAudioApi extension

getDefaultVideo(String userID) Future<int>

Available on CrSDK, provided by the CrVideoApi extension

getLocMixerState(String mixerID) Future<CR_MIXER_STATE>

Available on CrSDK, provided by the CrRecordApi extension

getMediaCfg() Future<CrVideoCfg>

Available on CrSDK, provided by the CrMediaApi extension

getMediaInfo() Future<CrMediaInfo>

Available on CrSDK, provided by the CrMediaApi extension

getMemberInfo(String userID) Future<CrMemberInfo>

Available on CrSDK, provided by the CrMemberApi extension

getMicVolume() Future<int>

Available on CrSDK, provided by the CrAudioApi extension

getMyUserID() Future<String>

Available on CrSDK, provided by the CrMemberApi extension

getNickName(String userID) Future<String>

Available on CrSDK, provided by the CrMemberApi extension

getScaleType(int viewID) Future<int>

Available on CrSDK, provided by the CrVideoApi extension

getScreenShareCfg() Future<CrScreenShareCfg>

Available on CrSDK, provided by the CrScreenShareApi extension

getServerAddr() Future<String>
getSpeakerOut() Future<bool>

Available on CrSDK, provided by the CrAudioApi extension

getSpeakerVolume() Future<int>

Available on CrSDK, provided by the CrAudioApi extension

getSvrMixerState() Future<CR_MIXER_STATE>

Available on CrSDK, provided by the CrRecordApi extension

getVersion() Future<String>
getVideoCfg() Future<CrVideoCfg>

Available on CrSDK, provided by the CrVideoApi extension

getWatchableVideos() Future<List<CrUsrVideoId>>

Available on CrSDK, provided by the CrVideoApi extension

init(CrSdkInitDat config) Future<int>
isScreenShareStarted() Future<bool>

Available on CrSDK, provided by the CrScreenShareApi extension

isUserInMeeting(String userID) Future<bool>

Available on CrSDK, provided by the CrMemberApi extension

log(String log, [CR_SDK_LOG_LEVEL level = CR_SDK_LOG_LEVEL.SDK_LOG_LEVEL_DEBUG]) Future<void>
login(CrLoginDat loginDat) Future<CrLoginResult>

Available on CrSDK, provided by the CrAuthApi extension

logout() Future<void>

Available on CrSDK, provided by the CrAuthApi extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openMic(String userID) Future<void>

Available on CrSDK, provided by the CrAudioApi extension

openVideo(String userID) Future<CrOpenVideoResult>

Available on CrSDK, provided by the CrVideoApi extension

pausePlayMedia(bool pause) Future<void>

Available on CrSDK, provided by the CrMediaApi extension

sendMeetingCustomMsg(String text) Future<int>

Available on CrSDK, provided by the CrImApi extension

setAudioCfg(CrAudioCfg cfg) Future<void>

Available on CrSDK, provided by the CrAudioApi extension

setDefaultVideo(String userID, int videoID) Future<void>

Available on CrSDK, provided by the CrVideoApi extension

setMediaCfg(CrVideoCfg cfg) Future<void>

Available on CrSDK, provided by the CrMediaApi extension

setMediaPlayPos(int pos) Future<void>

Available on CrSDK, provided by the CrMediaApi extension

setNickName(String userID, String nickName) Future<CrChangeNickName>

Available on CrSDK, provided by the CrMemberApi extension

setScaleType(int viewID, int scaleType) Future<void>

Available on CrSDK, provided by the CrVideoApi extension

setScreenShareCfg(CrScreenShareCfg screenShareCfg) Future<void>

Available on CrSDK, provided by the CrScreenShareApi extension

setServerAddr(String serverAddr) Future<void>
setSpeakerOut(bool speakerOut) Future<bool>

Available on CrSDK, provided by the CrAudioApi extension

setSpeakerVolume(int speakerVolume) Future<bool>

Available on CrSDK, provided by the CrAudioApi extension

setUsrVideoId(dynamic viewID, CrUsrVideoId usrVideoId) Future<void>

Available on CrSDK, provided by the CrVideoApi extension

setVideoCfg(CrVideoCfg cfg) Future<void>

Available on CrSDK, provided by the CrVideoApi extension

startPlayMedia(String videoSrc, [bool bLocPlay = false]) Future<void>

Available on CrSDK, provided by the CrMediaApi extension

startScreenShare() Future<int>

Available on CrSDK, provided by the CrScreenShareApi extension

startSvrMixer(List<CrMutiMixerCfg> mutiMixerCfgs, List<CrMutiMixerContents> mutiMixerContents, List<CrMutiMixerOutput> mutiMixerOutputs) Future<int>

Available on CrSDK, provided by the CrRecordApi extension

stopPlayMedia() Future<void>

Available on CrSDK, provided by the CrMediaApi extension

stopScreenShare() Future<int>

Available on CrSDK, provided by the CrScreenShareApi extension

stopSvrMixer() Future<void>

Available on CrSDK, provided by the CrRecordApi extension

toString() String
A string representation of this object.
inherited
uninit() Future<void>
updateLocMixerContent(String mixerID, List<CrMixerCotentRect> mixerCotentRects) Future<int>

Available on CrSDK, provided by the CrRecordApi extension

updateSvrMixerContent(List<CrMutiMixerContents> mutiMixerContents) Future<int>

Available on CrSDK, provided by the CrRecordApi extension

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance CrSDK
final