• Solutions
    • Streamroot DNA
    • DNA Complete
    • DNA Enterprise
    • Compass
  • Company
    • About
    • Careers
    • Partners
  • Customer Stories
  • Demo
  • Docs
  • Blog
Request a Trial
    • Streamroot DNA
    • DNA Complete
    • DNA Enterprise
    • Compass
  • Demo
  • Docs
  • Blog
  • Sign In
  • Request a Trial

Debug tools for iOS/tvOS

  1. Streamroot Documentation
  2. iOS and tvOS
  3. Getting started on iOS/tvOS

On top of the stats API exposed by the SDK, we created a view helper to help you integrate and understand Streamroot DNA™ faster. The StatsView will inform you about the different states of the SDK lifecycle and Streamroot metrics.

The view looks like the following:

statsView.png

Using the SDK

To add statsview, call the corresponding method from the DNAClient instance:

Swift

dnaClient?.displayStats(onView: contentOverlayView!)

Objective-C

[self.dnaClient displayStatsOnView: self.contentOverlayView];

 

Using the plugin

strPlugin?.dnaClient?.displayStats(onView: contentOverlayView!)

 

Knowing how many DNA sources are connected to you and how much offload a single SDK instance is performing while you are integrating the SDK could be useful. It could also be used to send data to third parties analytics.

Please refer to our Client API documentation to learn how to use it.

  • Facebook
  • Twitter
  • LinkedIn
  • Google+
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Return to top

Related articles

  • Apple AVPlayer
  • Apple Compatibilities
  • Reduce Build Size

SOLUTIONS


  • STREAMROOT DNA™
  • DNA COMPLETE
  • DNA ENTERPRISE
  • COMPASS

COMPANY


  • ABOUT
  • CAREERS
  • PARTNERS

RESOURCES


  • DEMO
  • DOCUMENTATION
  • CUSTOMER STORIES
  • BLOG
  • FAQ

CONTACT US


  • CONTACT US
Privacy Policy