Skip to content

Commit

Permalink
3.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-bhandari committed Jun 20, 2022
1 parent cc61358 commit fb2f4f3
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 4 deletions.
62 changes: 62 additions & 0 deletions CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,22 @@ export class OngoingCallListener {
* This event is triggered when an error occurs.
*/
onError?: Function;
/**
* This event is triggered when someone starts recording the call.
*/
onRecordingStarted?: Function;
/**
* This event is triggered when someone stops recording the call.
*/
onRecordingStopped?: Function;
/**
* This event is triggered when a user is muted.
*/
onUserMuted?: Function;
/**
* This event is triggered when an audio call is switched to a video call.
*/
onCallSwitchedToVideo?: Function;
constructor(...args: any[]);
}
export class LoginListener {
Expand Down Expand Up @@ -3865,6 +3881,10 @@ export class CallSettings {
isAudioModeButtonEnabled(): boolean;
getAnalyticsSettings(): Object;
getDefaultAudioMode(): string;
isAudioToVideoButtonEnabled(): boolean;
getAvatarMode(): string;
isRecordingButtonEnabled(): boolean;
shouldStartRecordingOnCallStart(): boolean;
}
export class CallSettingsBuilder {
/** @private */ sessionID: string;
Expand All @@ -3885,6 +3905,10 @@ export class CallSettingsBuilder {
/** @private */ analyticsSettings: Object;
/** @private */ appId: string;
/** @private */ defaultAudioMode: string;
/** @private */ ShowSwitchToVideoCallButton: boolean;
/** @private */ AvatarMode: string;
/** @private */ ShowRecordingButton: boolean;
/** @private */ StartRecordingOnCallStart: boolean;
/**
*
* @param {string} sessionID
Expand Down Expand Up @@ -4036,6 +4060,44 @@ export class CallSettingsBuilder {
* @returns
*/
setDefaultAudioMode(audioMode: string): this;
/**
*
* @param {boolean} showAudioToVideoSwitchButton
* This method shows/hides the switch to video call button.
* If set to true it will display the switch to video call button.
* If set to false it will hide the switch to video call button.
* Default value is true.
* @returns
*/
showSwitchToVideoCallButton(showAudioToVideoSwitchButton: boolean): this;
/**
*
* @param {string} mode
* This method sets the mode of avatar.
* The avatar mode can be circle, sqaure or fullscreen.
* Default value is circle.
* @returns
*/
setAvatarMode(mode: string);
/**
*
* @param {boolean} showRecordingButton
* This method shows/hides the recording button.
* If set to true it will display the recording button.
* If set to false it will hide the recording button.
* Default value is false.
* @returns
*/
showRecordingButton(showRecordingButton: boolean): this;
/**
*
* @param {boolean} startRecordingOnCallStart
* This method starts the recording as soon as the call start.
* If set to true it will start the recording as soon as the call start.
* Default value is false.
* @returns
*/
startRecordingOnCallStart(startRecordingOnCallStart: boolean): this;
/**
* This method will return an object of the CallSettings class.
* @returns {CallSettings}
Expand Down
2 changes: 1 addition & 1 deletion CometChat.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This guide demonstrates how to add chat to an Ionic App using CometChat Pro.
[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)

[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)
<a href=" "> <img src="https://img.shields.io/badge/Version-3.0.7-important" /></a>
<a href=" "> <img src="https://img.shields.io/badge/Version-3.0.8-important" /></a>
![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/cordova-ionic-chat-sdk)
![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/cordova-ionic-chat-sdk)
![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/cordova-ionic-chat-sdk?style=social)
Expand Down Expand Up @@ -79,7 +79,7 @@ To setup Cordova Ionic SDK, you need to first register on CometChat Dashboard.
1. Run the following command to install the CometChat Pro Cordova Ionic SDK<br/>

```javascript
npm install @cometchat-pro/cordova-ionic-chat@3.0.7 --save
npm install @cometchat-pro/cordova-ionic-chat@3.0.8 --save
```

You can refer to the below link for instructions on how to do so:<br/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cometchat-pro/cordova-ionic-chat",
"version": "3.0.7",
"version": "3.0.8",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit fb2f4f3

Please sign in to comment.