@zelloptt/react-native-zello-sdk 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModule.kt +32 -22
- package/ios/Extensions/ZelloContact+Extension.swift +2 -0
- package/ios/Extensions/ZelloIOSSdkModule+Extension.swift +8 -5
- package/ios/ZelloIOSSdkModule.swift +43 -23
- package/ios/ZelloIOSSdkModuleBridge.m +11 -11
- package/lib/commonjs/docs/assets/icons.js +1 -1
- package/lib/commonjs/docs/assets/icons.js.map +1 -1
- package/lib/commonjs/docs/assets/icons.svg +1 -1
- package/lib/commonjs/docs/assets/main.js +4 -1
- package/lib/commonjs/docs/assets/main.js.map +1 -1
- package/lib/commonjs/docs/assets/style.css +66 -21
- package/lib/commonjs/docs/classes/sdk.Zello.html +49 -49
- package/lib/commonjs/docs/classes/types.ZelloAlertMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloChannel.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloChannelUser.html +3 -3
- package/lib/commonjs/docs/classes/types.ZelloDispatchCall.html +5 -5
- package/lib/commonjs/docs/classes/types.ZelloDispatchChannel.html +10 -10
- package/lib/commonjs/docs/classes/types.ZelloGroupConversation.html +12 -12
- package/lib/commonjs/docs/classes/types.ZelloHistoryAlertMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloHistoryImageMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloHistoryLocationMessage.html +12 -12
- package/lib/commonjs/docs/classes/types.ZelloHistoryTextMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloHistoryVoiceMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloImageMessage.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloIncomingEmergency.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloIncomingVoiceMessage.html +7 -7
- package/lib/commonjs/docs/classes/types.ZelloLocationMessage.html +11 -11
- package/lib/commonjs/docs/classes/types.ZelloOutgoingEmergency.html +6 -6
- package/lib/commonjs/docs/classes/types.ZelloOutgoingVoiceMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloRecentEntry.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloTextMessage.html +8 -8
- package/lib/commonjs/docs/classes/types.ZelloUser.html +10 -10
- package/lib/commonjs/docs/classes/types.ZelloUserSupportedFeatures.html +4 -4
- package/lib/commonjs/docs/enums/events.ZelloEvent.html +95 -95
- package/lib/commonjs/docs/enums/types.ZelloAccountStatus.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloChannelAlertLevel.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloChannelConnectionStatus.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloConnectionError.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloConnectionState.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloContactType.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloDispatchCallStatus.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageError.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageState.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloRecentEntryType.html +3 -3
- package/lib/commonjs/docs/enums/types.ZelloUserStatus.html +7 -7
- package/lib/commonjs/docs/index.html +2 -2
- package/lib/commonjs/docs/modules/events.html +2 -2
- package/lib/commonjs/docs/modules/index.html +2 -2
- package/lib/commonjs/docs/modules/sdk.html +2 -2
- package/lib/commonjs/docs/modules/types.html +2 -2
- package/lib/commonjs/docs/modules.html +5 -0
- package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloConfig.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloContact.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloCredentials.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +2 -2
- package/lib/commonjs/docs/types/types.ZelloMessage.html +2 -2
- package/lib/commonjs/sdk/index.js +22 -33
- package/lib/commonjs/sdk/index.js.map +1 -1
- package/lib/module/docs/assets/icons.js +1 -1
- package/lib/module/docs/assets/icons.js.map +1 -1
- package/lib/module/docs/assets/icons.svg +1 -1
- package/lib/module/docs/assets/main.js +4 -1
- package/lib/module/docs/assets/main.js.map +1 -1
- package/lib/module/docs/assets/style.css +66 -21
- package/lib/module/docs/classes/sdk.Zello.html +49 -49
- package/lib/module/docs/classes/types.ZelloAlertMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloChannel.html +9 -9
- package/lib/module/docs/classes/types.ZelloChannelUser.html +3 -3
- package/lib/module/docs/classes/types.ZelloDispatchCall.html +5 -5
- package/lib/module/docs/classes/types.ZelloDispatchChannel.html +10 -10
- package/lib/module/docs/classes/types.ZelloGroupConversation.html +12 -12
- package/lib/module/docs/classes/types.ZelloHistoryAlertMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloHistoryImageMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloHistoryLocationMessage.html +12 -12
- package/lib/module/docs/classes/types.ZelloHistoryTextMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloHistoryVoiceMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloImageMessage.html +9 -9
- package/lib/module/docs/classes/types.ZelloIncomingEmergency.html +8 -8
- package/lib/module/docs/classes/types.ZelloIncomingVoiceMessage.html +7 -7
- package/lib/module/docs/classes/types.ZelloLocationMessage.html +11 -11
- package/lib/module/docs/classes/types.ZelloOutgoingEmergency.html +6 -6
- package/lib/module/docs/classes/types.ZelloOutgoingVoiceMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloRecentEntry.html +8 -8
- package/lib/module/docs/classes/types.ZelloTextMessage.html +8 -8
- package/lib/module/docs/classes/types.ZelloUser.html +10 -10
- package/lib/module/docs/classes/types.ZelloUserSupportedFeatures.html +4 -4
- package/lib/module/docs/enums/events.ZelloEvent.html +95 -95
- package/lib/module/docs/enums/types.ZelloAccountStatus.html +5 -5
- package/lib/module/docs/enums/types.ZelloChannelAlertLevel.html +5 -5
- package/lib/module/docs/enums/types.ZelloChannelConnectionStatus.html +3 -3
- package/lib/module/docs/enums/types.ZelloConnectionError.html +3 -3
- package/lib/module/docs/enums/types.ZelloConnectionState.html +3 -3
- package/lib/module/docs/enums/types.ZelloContactType.html +3 -3
- package/lib/module/docs/enums/types.ZelloDispatchCallStatus.html +3 -3
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageError.html +3 -3
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageState.html +3 -3
- package/lib/module/docs/enums/types.ZelloRecentEntryType.html +3 -3
- package/lib/module/docs/enums/types.ZelloUserStatus.html +7 -7
- package/lib/module/docs/index.html +2 -2
- package/lib/module/docs/modules/events.html +2 -2
- package/lib/module/docs/modules/index.html +2 -2
- package/lib/module/docs/modules/sdk.html +2 -2
- package/lib/module/docs/modules/types.html +2 -2
- package/lib/module/docs/modules.html +5 -0
- package/lib/module/docs/types/types.ZelloChannelOptions.html +2 -2
- package/lib/module/docs/types/types.ZelloConfig.html +2 -2
- package/lib/module/docs/types/types.ZelloConsoleSettings.html +2 -2
- package/lib/module/docs/types/types.ZelloContact.html +2 -2
- package/lib/module/docs/types/types.ZelloCredentials.html +2 -2
- package/lib/module/docs/types/types.ZelloHistoryMessage.html +2 -2
- package/lib/module/docs/types/types.ZelloMessage.html +2 -2
- package/lib/module/sdk/index.js +22 -33
- package/lib/module/sdk/index.js.map +1 -1
- package/lib/typescript/commonjs/src/sdk/index.d.ts.map +1 -1
- package/lib/typescript/module/src/sdk/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/sdk/index.ts +22 -33
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloConsoleSettings | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloConsoleSettings | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloConsoleSettings.html">ZelloConsoleSettings</a></li></ul><h1>Type Alias ZelloConsoleSettings</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Zello<wbr/>Console<wbr/>Settings</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">allowAlertMessages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">allowGroupConversations</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">allowImageMessages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">allowLocationMessages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">allowNonDispatchersToEndCalls</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">allowTextMessages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>Settings for the network. These are configured via the Zello Work Administrative Console.</p>
|
|
2
2
|
</div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">allow<wbr/>Alert<wbr/>Messages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Allow alert messages. When this is false, you should not show any UI to allow users to send alert messages.</p>
|
|
3
3
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">allow<wbr/>Group<wbr/>Conversations</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Allow group conversations. When this is false, you should not show any UI to allow users to create group conversations.</p>
|
|
4
4
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">allow<wbr/>Image<wbr/>Messages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Allow image messages. When this is false, you should not show any UI to allow users to send image messages.</p>
|
|
5
5
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">allow<wbr/>Location<wbr/>Messages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Allow location messages. When this is false, you should not show any UI to allow users to send location messages.</p>
|
|
6
6
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Allow non-dispatchers to end calls. When this is false, you should not show any UI to allow non-dispatchers to end calls.</p>
|
|
7
7
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">allow<wbr/>Text<wbr/>Messages</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Allow text messages. When this is false, you should not show any UI to allow users to send text messages.</p>
|
|
8
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/
|
|
8
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/be130b92b08f37e74b99d26aa9e6459e0e7e5f11/src/types/index.ts#L940">src/types/index.ts:940</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloContact | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloContact | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloContact.html">ZelloContact</a></li></ul><h1>Type Alias ZelloContact</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Zello<wbr/>Contact</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">isMuted</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><a href="../enums/types.ZelloContactType.html" class="tsd-signature-type tsd-kind-enum">ZelloContactType</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>The parent type for all Zello contact types, including users and channels.</p>
|
|
2
2
|
</div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">is<wbr/>Muted</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Whether the contact is muted.
|
|
3
3
|
When a contact is muted, messages from the contact will not play live, but they will still be in the history.</p>
|
|
4
4
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>The name of the contact. Names are unique within their type.
|
|
5
5
|
When comparing names, it is recommended to do so in a case-insensitive manner.</p>
|
|
6
6
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><a href="../enums/types.ZelloContactType.html" class="tsd-signature-type tsd-kind-enum">ZelloContactType</a></h5><div class="tsd-comment tsd-typography"><p>The type of contact.</p>
|
|
7
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/
|
|
7
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/be130b92b08f37e74b99d26aa9e6459e0e7e5f11/src/types/index.ts#L6">src/types/index.ts:6</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloCredentials | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloCredentials | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloCredentials.html">ZelloCredentials</a></li></ul><h1>Type Alias ZelloCredentials</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Zello<wbr/>Credentials</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">username</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>The credentials required to connect to Zello.</p>
|
|
2
2
|
</div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>The network to connect to.
|
|
3
3
|
This is the "x" in your {<a href="http://x.zellowork.com" target="_blank" class="external">x.zellowork.com</a>} Zello Work console login.</p>
|
|
4
4
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>The password for the user.</p>
|
|
5
5
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">username</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>The username to connect.</p>
|
|
6
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/
|
|
6
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/be130b92b08f37e74b99d26aa9e6459e0e7e5f11/src/types/index.ts#L303">src/types/index.ts:303</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloHistoryMessage | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloHistoryMessage | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloHistoryMessage.html">ZelloHistoryMessage</a></li></ul><h1>Type Alias ZelloHistoryMessage</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Zello<wbr/>History<wbr/>Message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">channelUser</span><span class="tsd-signature-symbol">: </span><a href="../classes/types.ZelloChannelUser.html" class="tsd-signature-type tsd-kind-class">ZelloChannelUser</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">contact</span><span class="tsd-signature-symbol">: </span><a href="types.ZelloContact.html" class="tsd-signature-type tsd-kind-type-alias">ZelloContact</a><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">historyId</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">incoming</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">timestamp</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>The parent type for all Zello history messages.</p>
|
|
2
2
|
</div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">channel<wbr/>User</span><span class="tsd-signature-symbol">: </span><a href="../classes/types.ZelloChannelUser.html" class="tsd-signature-type tsd-kind-class">ZelloChannelUser</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></h5><div class="tsd-comment tsd-typography"><p>If incoming, the author that sent the message, if the message was sent in a channel.
|
|
3
3
|
If outgoing, undefined.</p>
|
|
4
4
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">contact</span><span class="tsd-signature-symbol">: </span><a href="types.ZelloContact.html" class="tsd-signature-type tsd-kind-type-alias">ZelloContact</a></h5><div class="tsd-comment tsd-typography"><p>The contact that sent or received the message.</p>
|
|
@@ -6,4 +6,4 @@ If outgoing, undefined.</p>
|
|
|
6
6
|
This identifier persists across sessions.</p>
|
|
7
7
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">incoming</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Whether the message was received or sent.</p>
|
|
8
8
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">timestamp</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>The timestamp of the message.</p>
|
|
9
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/
|
|
9
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/be130b92b08f37e74b99d26aa9e6459e0e7e5f11/src/types/index.ts#L714">src/types/index.ts:714</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloMessage | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloMessage | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloMessage.html">ZelloMessage</a></li></ul><h1>Type Alias ZelloMessage</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Zello<wbr/>Message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">channelUser</span><span class="tsd-signature-symbol">: </span><a href="../classes/types.ZelloChannelUser.html" class="tsd-signature-type tsd-kind-class">ZelloChannelUser</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">contact</span><span class="tsd-signature-symbol">: </span><a href="types.ZelloContact.html" class="tsd-signature-type tsd-kind-type-alias">ZelloContact</a><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">incoming</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">timestamp</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>The parent type for all Zello messages.</p>
|
|
2
2
|
</div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">channel<wbr/>User</span><span class="tsd-signature-symbol">: </span><a href="../classes/types.ZelloChannelUser.html" class="tsd-signature-type tsd-kind-class">ZelloChannelUser</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></h5><div class="tsd-comment tsd-typography"><p>If incoming, the author that sent the message, if the message was sent in a channel.
|
|
3
3
|
If outgoing, undefined.</p>
|
|
4
4
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">contact</span><span class="tsd-signature-symbol">: </span><a href="types.ZelloContact.html" class="tsd-signature-type tsd-kind-type-alias">ZelloContact</a></h5><div class="tsd-comment tsd-typography"><p>The contact that sent or received the message. If this is a channel message, the contact will be the channel.</p>
|
|
5
5
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">incoming</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Whether the message was received or sent.</p>
|
|
6
6
|
</div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">timestamp</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>The timestamp of the message.</p>
|
|
7
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/
|
|
7
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/be130b92b08f37e74b99d26aa9e6459e0e7e5f11/src/types/index.ts#L364">src/types/index.ts:364</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -209,11 +209,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
209
209
|
}, {
|
|
210
210
|
key: "setSelectedContact",
|
|
211
211
|
value: function setSelectedContact(contact) {
|
|
212
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
213
212
|
if (_index.isAndroid) {
|
|
214
|
-
ZelloAndroidSdkModule.setSelectedContact(contact.name,
|
|
213
|
+
ZelloAndroidSdkModule.setSelectedContact(contact.name, contact.type);
|
|
215
214
|
} else {
|
|
216
|
-
ZelloIOSSdkModule.selectContact(contact.name,
|
|
215
|
+
ZelloIOSSdkModule.selectContact(contact.name, contact.type);
|
|
217
216
|
}
|
|
218
217
|
}
|
|
219
218
|
|
|
@@ -281,11 +280,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
281
280
|
}, {
|
|
282
281
|
key: "startVoiceMessage",
|
|
283
282
|
value: function startVoiceMessage(contact) {
|
|
284
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
285
283
|
if (_index.isAndroid) {
|
|
286
|
-
ZelloAndroidSdkModule.startVoiceMessage(contact.name,
|
|
284
|
+
ZelloAndroidSdkModule.startVoiceMessage(contact.name, contact.type);
|
|
287
285
|
} else {
|
|
288
|
-
ZelloIOSSdkModule.startVoiceMessage(contact.name,
|
|
286
|
+
ZelloIOSSdkModule.startVoiceMessage(contact.name, contact.type);
|
|
289
287
|
}
|
|
290
288
|
}
|
|
291
289
|
|
|
@@ -312,11 +310,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
312
310
|
}, {
|
|
313
311
|
key: "sendImage",
|
|
314
312
|
value: function sendImage(contact, data) {
|
|
315
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
316
313
|
if (_index.isAndroid) {
|
|
317
|
-
ZelloAndroidSdkModule.sendImage(contact.name,
|
|
314
|
+
ZelloAndroidSdkModule.sendImage(contact.name, contact.type, data);
|
|
318
315
|
} else {
|
|
319
|
-
ZelloIOSSdkModule.sendImage(contact.name,
|
|
316
|
+
ZelloIOSSdkModule.sendImage(contact.name, contact.type, data);
|
|
320
317
|
}
|
|
321
318
|
}
|
|
322
319
|
|
|
@@ -328,11 +325,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
328
325
|
}, {
|
|
329
326
|
key: "sendLocation",
|
|
330
327
|
value: function sendLocation(contact) {
|
|
331
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
332
328
|
if (_index.isAndroid) {
|
|
333
|
-
ZelloAndroidSdkModule.sendLocation(contact.name,
|
|
329
|
+
ZelloAndroidSdkModule.sendLocation(contact.name, contact.type);
|
|
334
330
|
} else {
|
|
335
|
-
ZelloIOSSdkModule.sendLocation(contact.name,
|
|
331
|
+
ZelloIOSSdkModule.sendLocation(contact.name, contact.type);
|
|
336
332
|
}
|
|
337
333
|
}
|
|
338
334
|
|
|
@@ -345,11 +341,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
345
341
|
}, {
|
|
346
342
|
key: "sendText",
|
|
347
343
|
value: function sendText(contact, text) {
|
|
348
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
349
344
|
if (_index.isAndroid) {
|
|
350
|
-
ZelloAndroidSdkModule.sendText(contact.name,
|
|
345
|
+
ZelloAndroidSdkModule.sendText(contact.name, contact.type, text);
|
|
351
346
|
} else {
|
|
352
|
-
ZelloIOSSdkModule.sendText(contact.name,
|
|
347
|
+
ZelloIOSSdkModule.sendText(contact.name, contact.type, text);
|
|
353
348
|
}
|
|
354
349
|
}
|
|
355
350
|
|
|
@@ -363,11 +358,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
363
358
|
}, {
|
|
364
359
|
key: "sendAlert",
|
|
365
360
|
value: function sendAlert(contact, text, level) {
|
|
366
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
367
361
|
if (_index.isAndroid) {
|
|
368
|
-
ZelloAndroidSdkModule.sendAlert(contact.name,
|
|
362
|
+
ZelloAndroidSdkModule.sendAlert(contact.name, contact.type, text, level);
|
|
369
363
|
} else {
|
|
370
|
-
ZelloIOSSdkModule.sendAlert(contact.name,
|
|
364
|
+
ZelloIOSSdkModule.sendAlert(contact.name, contact.type, text, level);
|
|
371
365
|
}
|
|
372
366
|
}
|
|
373
367
|
|
|
@@ -393,11 +387,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
393
387
|
}, {
|
|
394
388
|
key: "muteContact",
|
|
395
389
|
value: function muteContact(contact) {
|
|
396
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
397
390
|
if (_index.isAndroid) {
|
|
398
|
-
ZelloAndroidSdkModule.muteContact(contact.name,
|
|
391
|
+
ZelloAndroidSdkModule.muteContact(contact.name, contact.type);
|
|
399
392
|
} else {
|
|
400
|
-
ZelloIOSSdkModule.muteContact(contact.name,
|
|
393
|
+
ZelloIOSSdkModule.muteContact(contact.name, contact.type);
|
|
401
394
|
}
|
|
402
395
|
}
|
|
403
396
|
|
|
@@ -409,11 +402,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
409
402
|
}, {
|
|
410
403
|
key: "unmuteContact",
|
|
411
404
|
value: function unmuteContact(contact) {
|
|
412
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
413
405
|
if (_index.isAndroid) {
|
|
414
|
-
ZelloAndroidSdkModule.unmuteContact(contact.name,
|
|
406
|
+
ZelloAndroidSdkModule.unmuteContact(contact.name, contact.type);
|
|
415
407
|
} else {
|
|
416
|
-
ZelloIOSSdkModule.unmuteContact(contact.name,
|
|
408
|
+
ZelloIOSSdkModule.unmuteContact(contact.name, contact.type);
|
|
417
409
|
}
|
|
418
410
|
}
|
|
419
411
|
|
|
@@ -457,7 +449,6 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
457
449
|
value: function getHistory(contact, size) {
|
|
458
450
|
const defaultHistorySize = 50;
|
|
459
451
|
return new Promise(resolve => {
|
|
460
|
-
const isChannel = contact.type === _index2.ZelloContactType.Channel;
|
|
461
452
|
const callback = history => {
|
|
462
453
|
if (!history) {
|
|
463
454
|
resolve([]);
|
|
@@ -467,9 +458,9 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
467
458
|
resolve(messages);
|
|
468
459
|
};
|
|
469
460
|
if (_index.isAndroid) {
|
|
470
|
-
ZelloAndroidSdkModule.getHistory(contact.name,
|
|
461
|
+
ZelloAndroidSdkModule.getHistory(contact.name, contact.type, size ?? defaultHistorySize, callback);
|
|
471
462
|
} else {
|
|
472
|
-
ZelloIOSSdkModule.getHistory(contact.name,
|
|
463
|
+
ZelloIOSSdkModule.getHistory(contact.name, contact.type, size ?? defaultHistorySize, callback);
|
|
473
464
|
}
|
|
474
465
|
});
|
|
475
466
|
}
|
|
@@ -482,11 +473,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
482
473
|
}, {
|
|
483
474
|
key: "playHistoryMessage",
|
|
484
475
|
value: function playHistoryMessage(message) {
|
|
485
|
-
const isChannel = message.contact.type === _index2.ZelloContactType.Channel;
|
|
486
476
|
if (_index.isAndroid) {
|
|
487
|
-
ZelloAndroidSdkModule.playHistoryMessage(message.historyId, message.contact.name,
|
|
477
|
+
ZelloAndroidSdkModule.playHistoryMessage(message.historyId, message.contact.name, message.contact.type);
|
|
488
478
|
} else {
|
|
489
|
-
ZelloIOSSdkModule.playHistoryMessage(message.historyId, message.contact.name,
|
|
479
|
+
ZelloIOSSdkModule.playHistoryMessage(message.historyId, message.contact.name, message.contact.type);
|
|
490
480
|
}
|
|
491
481
|
}
|
|
492
482
|
|
|
@@ -513,11 +503,10 @@ let Zello = exports.Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
513
503
|
key: "getImageDataForHistoryImageMessage",
|
|
514
504
|
value: function getImageDataForHistoryImageMessage(message) {
|
|
515
505
|
return new Promise(resolve => {
|
|
516
|
-
const isChannel = message.contact.type === _index2.ZelloContactType.Channel;
|
|
517
506
|
if (_index.isAndroid) {
|
|
518
|
-
ZelloAndroidSdkModule.getImageDataForHistoryImageMessage(message.historyId, message.contact.name,
|
|
507
|
+
ZelloAndroidSdkModule.getImageDataForHistoryImageMessage(message.historyId, message.contact.name, message.contact.type, data => resolve(data));
|
|
519
508
|
} else {
|
|
520
|
-
ZelloIOSSdkModule.getHistoryImageData(message.historyId, message.contact.name,
|
|
509
|
+
ZelloIOSSdkModule.getHistoryImageData(message.historyId, message.contact.name, message.contact.type, data => resolve(data));
|
|
521
510
|
}
|
|
522
511
|
});
|
|
523
512
|
}
|