Created
January 4, 2019 09:19
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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