You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdks/player/apivideo-android-player-analytics.md
+51-21Lines changed: 51 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,21 +3,21 @@ title: api.video Android Player analytics plugin
3
3
meta:
4
4
description: The official api.video Android Player analytics plugin for api.video. [api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
5
5
---
6
+
<!--
7
+
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
8
+
IF YOU NEED TO CHANGE THIS FILE, CREATE A PR IN THE SOURCE REPOSITORY.
9
+
-->
6
10
7
11
# api.video Android Player analytics plugin
8
12
9
-
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast
10
-
video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in
11
-
your app.
13
+
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
12
14
13
15
## Project description
14
16
15
17
Android library to manually call the api.video analytics collector.
16
18
17
19
This is useful if you are using a video player for which we do not yet provide a ready-to-use
18
-
monitoring module.
19
-
20
-
This module also supports ExoPlayer analytics.
20
+
monitoring module.
21
21
22
22
## Getting started
23
23
@@ -29,7 +29,7 @@ In your module `build.gradle`, add the following code in `dependencies`:
|`play(eventTime: Float = currentTime): Future<void>`| method to call when the video starts playing for the first time (in the case of a resume after paused, use `resume()`) |
84
-
|`resume(eventTime: Float = currentTime): Future<void>`| method to call when the video playback is resumed after a pause |
85
-
|`ready(eventTime: Float = currentTime): Future<void>`| method to call once the player is ready to play the media |
86
-
|`end(eventTime: Float = currentTime): Future<void>`| method to call when the video is ended |
87
-
|`seek(from: Float, to: Float): Future<void>`| method to call when a seek event occurs, the `from` and `to` parameters are mandatory and should contain the seek start & end times in seconds |
88
-
|`pause(eventTime: Float = currentTime): Future<void>`| method to call when the video is paused |
89
-
|`destroy(eventTime: Float = currentTime): Future<void>`| method to call when the video player is disposed (eg. when the use closes the navigation tab) |
90
-
|`currentTime`| field to call each time the playback time changes (it should be called often, the accuracy of the collected data depends on it) if you don't know event time. |
100
+
**`seek(from: Float, to: Float): Future<void>`**
101
+
102
+
method to call when a seek event occurs, the `from` and `to` parameters are mandatory and should
0 commit comments