
DescriptionMethod
Syntax:
void open(QString name, double length, QString playerName, QString playerID
= QString());
Example:
ADBMediaAnalytics::sharedInstance()->open("name", 10.0, "playerName",
"playerID");
Opens a MediaSettings object for tracking.
openAd
Syntax:
void openAd(QString name, double length, QString playerName, QString
parentName, QString parentPod, double parentPodPosition, QString CPM);
Example:
ADBMediaAnalytics::sharedInstance()->openAd("name", 10, "playerName",
"parentName", "podName", 0, "CPM");
Closes the media item named name.
close
Syntax:
void close(QString name);
Example:
ADBMediaAnalytics::sharedInstance()->close("name");
Plays the media item named name at the given offset (in seconds).
play
Syntax:
void play(QString name, double offset);
Example:
ADBMediaAnalytics::sharedInstance()->play("name", 0);
Manually mark the media item as complete at the offset provided (in seconds).
complete
Syntax:
void complete(QString name, double offset);
Example:
ADBMediaAnalytics::sharedInstance()->complete("name", 0);
Notifies the media module that the video has been stopped or paused at the given offset.
stop
Syntax:
stop(QString name, double offset);
Example:
ADBMediaAnalytics::sharedInstance()->stop("name", 0);
16Video Analytics
Comentarios a estos manuales