@@ -35,20 +35,20 @@ headingText: Instrument a new mobile application
3535
3636 <TabsPages >
3737 <TabsPageItem id = " jitpack" >
38- 1 . Add the following line inside your root build.gradle file:
38+ 1 . Add the following line inside your root ` build.gradle ` file:
3939
4040 ``` groovy
4141 allprojects {
42- repositories {
43- ...
42+ repositories {
43+ ...
4444
4545 // Add this line at the end of your repositories
46- maven { url 'https://jitpack.io' }
47- }
48- }
46+ maven { url 'https://jitpack.io' }
47+ }
48+ }
4949 ```
5050
51- 2 . Add the following dependencies inside your app's build.gradle file:
51+ 2 . Add the following dependencies inside your app's ` build.gradle ` file:
5252
5353 ``` groovy
5454 dependencies {
@@ -134,14 +134,14 @@ headingText: Instrument a new mobile application
134134 ``` java
135135 // Implement onAdEvent method and add the following code snippet
136136 if (NewRelicVideoAgent . getInstance(). getAdTracker(trackerId) != null ) {
137- ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdEvent(adEvent);
137+ ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdEvent(adEvent);
138138 }
139139 ```
140140
141141 ``` java
142142 // Implement onAdError method and add the following code snippet
143143 if (NewRelicVideoAgent . getInstance(). getAdTracker(trackerId) != null ) {
144- ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdError(adErrorEvent);
144+ ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdError(adErrorEvent);
145145 }
146146 ```
147147
@@ -162,14 +162,14 @@ headingText: Instrument a new mobile application
162162 ``` kotlin
163163 // Implement onAdEvent method and add the following code snippet
164164 NewRelicVideoAgent .getInstance().getAdTracker(trackerId)?.let {
165- (it as NRTrackerIMA ).onAdEvent(adEvent)
165+ (it as NRTrackerIMA ).onAdEvent(adEvent)
166166 }
167167 ```
168168
169169 ``` kotlin
170170 // Implement onAdError method and add the following code snippet
171171 NewRelicVideoAgent .getInstance().getAdTracker(trackerId)?.let {
172- (it as NRTrackerIMA ).onAdError(adErrorEvent)
172+ (it as NRTrackerIMA ).onAdError(adErrorEvent)
173173 }
174174 ```
175175 </TabsPageItem >
@@ -198,10 +198,10 @@ headingText: Instrument a new mobile application
198198
199199 ``` groovy
200200 dependencies {
201- ...
202- implementation project(":NewRelicVideoCore")
203- implementation project(":NRExoPlayerTracker")
204- implementation project(':NRIMATracker')
201+ ...
202+ implementation project(":NewRelicVideoCore")
203+ implementation project(":NRExoPlayerTracker")
204+ implementation project(':NRIMATracker')
205205 }
206206 ```
207207 9 . Click ** Continue** .
@@ -269,14 +269,14 @@ headingText: Instrument a new mobile application
269269 ``` java
270270 // Implement onAdEvent method and add the following code snippet
271271 if (NewRelicVideoAgent . getInstance(). getAdTracker(trackerId) != null ) {
272- ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdEvent(adEvent);
272+ ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdEvent(adEvent);
273273 }
274274 ```
275275
276276 ``` java
277277 // Implement onAdError method and add the following code snippet
278278 if (NewRelicVideoAgent . getInstance(). getAdTracker(trackerId) != null ) {
279- ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdError(adErrorEvent);
279+ ((NRTrackerIMA ) NewRelicVideoAgent . getInstance(). getAdTracker(trackerId)). onAdError(adErrorEvent);
280280 }
281281 ```
282282
@@ -374,4 +374,4 @@ headingText: Instrument a new mobile application
374374 8 . Click ** See your data** to deploy your updated code & see the data.
375375 </TabsPageItem >
376376 </TabsPages >
377- </Tabs >
377+ </Tabs >
0 commit comments