Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michael-riha/cf88c8a2f578411cbeffee2c959fef72 to your computer and use it in GitHub Desktop.
Save michael-riha/cf88c8a2f578411cbeffee2c959fef72 to your computer and use it in GitHub Desktop.
Bitmovin Android Analytics Collector setup Part2 - (Part1) github.com/michael-riha/85c5d9629dfc38be9d4c5ad9aaf02a4f
//get this key directly from the AndroidManifest.xml
String playerKey= this.gePlayerLicenseKey();
//Step 1: Create your analytics config object
BitmovinAnalyticsConfig bitmovinAnalyticsConfig = new BitmovinAnalyticsConfig("<ANALYTICS_KEY>", playerKey, getApplicationContext());
//Step 2: Add optional parameters -> https://gist.github.com/michael-riha/85c5d9629dfc38be9d4c5ad9aaf02a4f
//Step 3: Create Analytics Collector -> https://gist.github.com/michael-riha/85c5d9629dfc38be9d4c5ad9aaf02a4f
...
//Step 4: Attach BitmovinPlayer final step
bitmovinAnalytics.attachPlayer(bitmovinPlayer);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment