Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 4.04 KB

voice-react-native-sdk.md

File metadata and controls

48 lines (36 loc) · 4.04 KB

Home > @twilio/voice-react-native-sdk

voice-react-native-sdk package

Provides access to Twilio Programmable Voice for React Native applications running on iOS and Android devices.

Classes

Class Description
AudioDevice Describes audio devices as reported by the native layer and allows the native selection of the described audio device.
Call Provides access to information about a call, including the call parameters, and exposes functionality for a call such as disconnecting, muting, and holding.
CallInvite Provides access to information about a call invite, including the call parameters, and exposes functionality to accept or decline a call.
CallMessage CallMessage API is in beta.Provides access to information about a callMessage, including the call message content, contentType, messageType, and voiceEventSid
OutgoingCallMessage CallMessage API is in beta.Provides access to information about a outgoingCallMessage, including the call message content, contentType, messageType, and voiceEventSid
Voice Main entry-point of the Voice SDK. Provides access to the entire feature-set of the library.

Interfaces

Interface Description
Call Defines strict typings for all events emitted by Call objects.
CallInvite Defines strict typings for all events emitted by CallInvite objects.
OutgoingCallMessage Defines strict typings for all events emitted by OutgoingCallMessage objects.
Voice Defines strict typings for all events emitted by Voice objects.

Namespaces

Namespace Description
AudioDevice Contains interfaces and enumerations associated with audio devices.
Call Namespace for enumerations and types used by Call objects.
CallInvite Provides enumerations and types used by a CallInvite object.
CallKit CallKit related types.
CallMessage Namespace for enumerations and types used by CallMessage objects.
OutgoingCallMessage Namespace for enumerations and types used by OutgoingCallMessage objects.
RTCStats Types related to WebRTC stats.
TwilioErrors
Voice Provides enumerations and types used by Voice objects.

Type Aliases

Type Alias Description
CustomParameters Call custom parameters. If custom parameters are present for a call, then it will have this typing.