UNPKG

agora-react-native-rtm

Version:

React Native around the Agora RTM SDKs for Android and iOS agora

101 lines (93 loc) 2.17 kB
/// Generated by terra, DO NOT MODIFY BY HAND. /** * The qos of rtm message. */ export let RtmMessageQos = /*#__PURE__*/function (RtmMessageQos) { RtmMessageQos[RtmMessageQos["unordered"] = 0] = "unordered"; RtmMessageQos[RtmMessageQos["ordered"] = 1] = "ordered"; return RtmMessageQos; }({}); /** * The priority of rtm message. */ export let RtmMessagePriority = /*#__PURE__*/function (RtmMessagePriority) { RtmMessagePriority[RtmMessagePriority["highest"] = 0] = "highest"; RtmMessagePriority[RtmMessagePriority["high"] = 1] = "high"; RtmMessagePriority[RtmMessagePriority["normal"] = 4] = "normal"; RtmMessagePriority[RtmMessagePriority["low"] = 8] = "low"; return RtmMessagePriority; }({}); /** * Join channel options. */ export class JoinChannelOptions { /** * Token used to join channel. */ /** * Whether to subscribe channel metadata information */ withMetadata = false; /** * Whether to subscribe channel with user presence */ withPresence = true; /** * Whether to subscribe channel with lock */ withLock = false; /** * Whether to join channel in quiet mode * Quiet mode means remote user will not receive any notification when we join or * leave or change our presence state */ beQuiet = false; constructor(props) { Object.assign(this, props); } } /** * Join topic options. */ export class JoinTopicOptions { /** * The qos of rtm message. */ qos = RtmMessageQos.unordered; /** * The priority of rtm message. */ priority = RtmMessagePriority.normal; /** * The metaData of topic. */ /** * The rtm data will sync with media */ syncWithMedia = false; constructor(props) { Object.assign(this, props); } } /** * Topic options. */ export class TopicOptions { /** * The list of users to subscribe. */ /** * The number of users. */ userCount = 0; constructor(props) { Object.assign(this, props); } } /** * The IStreamChannel class. * * This class provides the stream channel methods that can be invoked by your app. */ export class IStreamChannel {} //# sourceMappingURL=IAgoraStreamChannel.js.map