Data Integration
Mandatory Events

Video/Audio Apps

24min

The following events are needed for those business domains which are primarily video/audio based apps and monetize using videos/audios.

As our terminology says, for a video-based app, the Item is your Video/Audio content.

View Item

When a user checks the detail page of a video/audio content.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user view.

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Play Item

When a user starts playing a video or audio.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user playing.

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Pause Item

When a user pauses a video/audio.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user paused.

durationWatched

Number (Seconds)

Yes

How much time the user was watching/listening to the specific item.

watchedTill

Number (Seconds)

Yes

Video/Audio time on which user paused it. Time in seconds

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Exit Item

When the user closes or exits playing video/audio.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user exit playing.

durationWatched

Number (Seconds)

Yes

How much time the user was watching/listening to the specific item. Time in seconds

watchedTill

Number (Seconds)

Yes

Video/Audio time on which user exit it.

Time in seconds

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Seek Item

When the user closes or exits playing video/audio.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user seek.

gesture

String

Yes

Video/Audio is seek to FORWARD/REVERSE.

seekDuration

Number (Seconds)

No

How much video/audio seek in seconds.

Code Example

The following example includes optional properties too.

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Item Favourite

When a user marks a video/audio as a favourite.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user marks it as a favourite.

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Item Unfavourite

When a user removes a video/audio from a favourite.

Properties

Name

Type

Required

Description

item

Yes

The item details that the user removes from favourite.

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Download Item

When a user downloads a video/audio for offline view.

Properties

Name

Type

Required

Description

item

Yes

The item details that is downloaded for offline view.

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart


Delete Download

When a user downloads a video/audio for offline view.

Properties

Name

Type

Required

Description

item

Yes

The downloaded item details which is removed from the offline view.

Code Example

JS
TypeScript
Java
Kotlin
ObjectiveC
Swift
Dart