NAGRA provides Insight SDKs for Android, iOS and Web, which allow you to integrate Insight into your platform-specific code. The React Native Insight module aims to provide the same functionalities, which can be integrated into a React Native application. This module is designed to work on Android, iOS, and Web platforms through a unified set of JS interfaces.
-
To download the React Native Insight module, see Downloading the SDK.
-
For integration instructions, see the RN Insight integration guide.
-
For API documentation, see Insight React Native APIs.
Overview
You can import the RNInsight module from @nagra/react-native-insight-insight and then use the APIs to implement the Insight functionalities:
|
API |
Purpose |
|---|---|
|
|
Initialises a reporting session into Insight agent. |
|
|
Notifies the Insight agent that a user has requested playback of a new content. |
|
|
Notifies the Insight agent that playback has started. |
|
|
Notifies the Insight agent that the player started buffering. |
|
|
Notifies the Insight agent that the user has requested playback at a different position. |
|
|
Notifies the Insight agent that the user paused playback. |
|
|
Notifies the Insight agent that playback was stopped. |
|
|
Notifies the Insight agent that the content is live content. |
|
|
Notifies the Insight agent that the content is a VoD content. |
|
|
Notifies the Insight agent about playback progression. |
|
|
Notifies the Insight agent of the playback offset from the live stream. |
|
|
Notifies the Insight agent that some frames were dropped. |
|
|
Notifies the Insight agent that the available bitrate of the currently playing content was updated. |
|
|
Notifies the Insight agent that the user changed the audio language. |
|
|
Notifies the Insight agent that the user changed the subtitle. |
|
|
Notifies the Insight agent that the user changed the network connection. |
|
|
Notifies the Insight agent that the user changed the content quality. |
|
|
Notifies the Insight agent that an error occurred. |
|
|
Sets the user information. |
|
|
Notifies the Insight agent that seeking was triggered. |
|
|
Notifies the Insight agent to terminate the session. |
If you are using a pre-integrated React Native Insight solution with NAGRA's React Native CONNECT Player, please refer to the API documentation.