@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>
|
package/lib/module/sdk/index.js
CHANGED
|
@@ -207,11 +207,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
207
207
|
}, {
|
|
208
208
|
key: "setSelectedContact",
|
|
209
209
|
value: function setSelectedContact(contact) {
|
|
210
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
211
210
|
if (isAndroid) {
|
|
212
|
-
ZelloAndroidSdkModule.setSelectedContact(contact.name,
|
|
211
|
+
ZelloAndroidSdkModule.setSelectedContact(contact.name, contact.type);
|
|
213
212
|
} else {
|
|
214
|
-
ZelloIOSSdkModule.selectContact(contact.name,
|
|
213
|
+
ZelloIOSSdkModule.selectContact(contact.name, contact.type);
|
|
215
214
|
}
|
|
216
215
|
}
|
|
217
216
|
|
|
@@ -279,11 +278,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
279
278
|
}, {
|
|
280
279
|
key: "startVoiceMessage",
|
|
281
280
|
value: function startVoiceMessage(contact) {
|
|
282
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
283
281
|
if (isAndroid) {
|
|
284
|
-
ZelloAndroidSdkModule.startVoiceMessage(contact.name,
|
|
282
|
+
ZelloAndroidSdkModule.startVoiceMessage(contact.name, contact.type);
|
|
285
283
|
} else {
|
|
286
|
-
ZelloIOSSdkModule.startVoiceMessage(contact.name,
|
|
284
|
+
ZelloIOSSdkModule.startVoiceMessage(contact.name, contact.type);
|
|
287
285
|
}
|
|
288
286
|
}
|
|
289
287
|
|
|
@@ -310,11 +308,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
310
308
|
}, {
|
|
311
309
|
key: "sendImage",
|
|
312
310
|
value: function sendImage(contact, data) {
|
|
313
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
314
311
|
if (isAndroid) {
|
|
315
|
-
ZelloAndroidSdkModule.sendImage(contact.name,
|
|
312
|
+
ZelloAndroidSdkModule.sendImage(contact.name, contact.type, data);
|
|
316
313
|
} else {
|
|
317
|
-
ZelloIOSSdkModule.sendImage(contact.name,
|
|
314
|
+
ZelloIOSSdkModule.sendImage(contact.name, contact.type, data);
|
|
318
315
|
}
|
|
319
316
|
}
|
|
320
317
|
|
|
@@ -326,11 +323,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
326
323
|
}, {
|
|
327
324
|
key: "sendLocation",
|
|
328
325
|
value: function sendLocation(contact) {
|
|
329
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
330
326
|
if (isAndroid) {
|
|
331
|
-
ZelloAndroidSdkModule.sendLocation(contact.name,
|
|
327
|
+
ZelloAndroidSdkModule.sendLocation(contact.name, contact.type);
|
|
332
328
|
} else {
|
|
333
|
-
ZelloIOSSdkModule.sendLocation(contact.name,
|
|
329
|
+
ZelloIOSSdkModule.sendLocation(contact.name, contact.type);
|
|
334
330
|
}
|
|
335
331
|
}
|
|
336
332
|
|
|
@@ -343,11 +339,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
343
339
|
}, {
|
|
344
340
|
key: "sendText",
|
|
345
341
|
value: function sendText(contact, text) {
|
|
346
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
347
342
|
if (isAndroid) {
|
|
348
|
-
ZelloAndroidSdkModule.sendText(contact.name,
|
|
343
|
+
ZelloAndroidSdkModule.sendText(contact.name, contact.type, text);
|
|
349
344
|
} else {
|
|
350
|
-
ZelloIOSSdkModule.sendText(contact.name,
|
|
345
|
+
ZelloIOSSdkModule.sendText(contact.name, contact.type, text);
|
|
351
346
|
}
|
|
352
347
|
}
|
|
353
348
|
|
|
@@ -361,11 +356,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
361
356
|
}, {
|
|
362
357
|
key: "sendAlert",
|
|
363
358
|
value: function sendAlert(contact, text, level) {
|
|
364
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
365
359
|
if (isAndroid) {
|
|
366
|
-
ZelloAndroidSdkModule.sendAlert(contact.name,
|
|
360
|
+
ZelloAndroidSdkModule.sendAlert(contact.name, contact.type, text, level);
|
|
367
361
|
} else {
|
|
368
|
-
ZelloIOSSdkModule.sendAlert(contact.name,
|
|
362
|
+
ZelloIOSSdkModule.sendAlert(contact.name, contact.type, text, level);
|
|
369
363
|
}
|
|
370
364
|
}
|
|
371
365
|
|
|
@@ -391,11 +385,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
391
385
|
}, {
|
|
392
386
|
key: "muteContact",
|
|
393
387
|
value: function muteContact(contact) {
|
|
394
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
395
388
|
if (isAndroid) {
|
|
396
|
-
ZelloAndroidSdkModule.muteContact(contact.name,
|
|
389
|
+
ZelloAndroidSdkModule.muteContact(contact.name, contact.type);
|
|
397
390
|
} else {
|
|
398
|
-
ZelloIOSSdkModule.muteContact(contact.name,
|
|
391
|
+
ZelloIOSSdkModule.muteContact(contact.name, contact.type);
|
|
399
392
|
}
|
|
400
393
|
}
|
|
401
394
|
|
|
@@ -407,11 +400,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
407
400
|
}, {
|
|
408
401
|
key: "unmuteContact",
|
|
409
402
|
value: function unmuteContact(contact) {
|
|
410
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
411
403
|
if (isAndroid) {
|
|
412
|
-
ZelloAndroidSdkModule.unmuteContact(contact.name,
|
|
404
|
+
ZelloAndroidSdkModule.unmuteContact(contact.name, contact.type);
|
|
413
405
|
} else {
|
|
414
|
-
ZelloIOSSdkModule.unmuteContact(contact.name,
|
|
406
|
+
ZelloIOSSdkModule.unmuteContact(contact.name, contact.type);
|
|
415
407
|
}
|
|
416
408
|
}
|
|
417
409
|
|
|
@@ -455,7 +447,6 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
455
447
|
value: function getHistory(contact, size) {
|
|
456
448
|
const defaultHistorySize = 50;
|
|
457
449
|
return new Promise(resolve => {
|
|
458
|
-
const isChannel = contact.type === ZelloContactType.Channel;
|
|
459
450
|
const callback = history => {
|
|
460
451
|
if (!history) {
|
|
461
452
|
resolve([]);
|
|
@@ -465,9 +456,9 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
465
456
|
resolve(messages);
|
|
466
457
|
};
|
|
467
458
|
if (isAndroid) {
|
|
468
|
-
ZelloAndroidSdkModule.getHistory(contact.name,
|
|
459
|
+
ZelloAndroidSdkModule.getHistory(contact.name, contact.type, size ?? defaultHistorySize, callback);
|
|
469
460
|
} else {
|
|
470
|
-
ZelloIOSSdkModule.getHistory(contact.name,
|
|
461
|
+
ZelloIOSSdkModule.getHistory(contact.name, contact.type, size ?? defaultHistorySize, callback);
|
|
471
462
|
}
|
|
472
463
|
});
|
|
473
464
|
}
|
|
@@ -480,11 +471,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
480
471
|
}, {
|
|
481
472
|
key: "playHistoryMessage",
|
|
482
473
|
value: function playHistoryMessage(message) {
|
|
483
|
-
const isChannel = message.contact.type === ZelloContactType.Channel;
|
|
484
474
|
if (isAndroid) {
|
|
485
|
-
ZelloAndroidSdkModule.playHistoryMessage(message.historyId, message.contact.name,
|
|
475
|
+
ZelloAndroidSdkModule.playHistoryMessage(message.historyId, message.contact.name, message.contact.type);
|
|
486
476
|
} else {
|
|
487
|
-
ZelloIOSSdkModule.playHistoryMessage(message.historyId, message.contact.name,
|
|
477
|
+
ZelloIOSSdkModule.playHistoryMessage(message.historyId, message.contact.name, message.contact.type);
|
|
488
478
|
}
|
|
489
479
|
}
|
|
490
480
|
|
|
@@ -511,11 +501,10 @@ export let Zello = /*#__PURE__*/function (_EventEmitter) {
|
|
|
511
501
|
key: "getImageDataForHistoryImageMessage",
|
|
512
502
|
value: function getImageDataForHistoryImageMessage(message) {
|
|
513
503
|
return new Promise(resolve => {
|
|
514
|
-
const isChannel = message.contact.type === ZelloContactType.Channel;
|
|
515
504
|
if (isAndroid) {
|
|
516
|
-
ZelloAndroidSdkModule.getImageDataForHistoryImageMessage(message.historyId, message.contact.name,
|
|
505
|
+
ZelloAndroidSdkModule.getImageDataForHistoryImageMessage(message.historyId, message.contact.name, message.contact.type, data => resolve(data));
|
|
517
506
|
} else {
|
|
518
|
-
ZelloIOSSdkModule.getHistoryImageData(message.historyId, message.contact.name,
|
|
507
|
+
ZelloIOSSdkModule.getHistoryImageData(message.historyId, message.contact.name, message.contact.type, data => resolve(data));
|
|
519
508
|
}
|
|
520
509
|
});
|
|
521
510
|
}
|