CCClient Developers Guide Android

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 32

Scroll down to view the document on your mobile browser.
                                                        Penthera Download2Go™ Client Developer Guide (Android)  This document describes integrating and using the Penthera Download2Go Android SDK.  The SDK is the client piece of Penthera’s Download2Go (Download2Go), a software system that manages download, storage, and playback of videos on mobile devices. We assume that you will integrate the SDK into your own streaming video app that handles all UI/UX, user authentication, DRM, and video playout.  This document is a how-to guide. It will teach you to:   1. compile and run a sample Android app using the SDK   2. link the SDK into your Android app  3. perform common functions using the SDK: enqueue, play, expire, configure, etc.   We assume you are an experienced Android developer, and you’re using Android’s latest SDK and platform tools.  Although the SDK does not require it,  some examples in this document assume you are using Android Studio.   The SDK communicates with a server, the Download2Go Backplane, using an internal, proprietary web services  protocol.  This communication occurs via regular client-server syncs and via server-to-client GCM messages. Penthera hosts a developer server instance, at demo.penthera.com, which you may use to build a proof-of-concept app.   Internally, the SDK is codenamed “Virtuoso.”  You’ll notice this a lot in the headers.   We’re here to help! Email support@penthera.com if you run into any problems.   NOTE: This document contains method signatures and reference source code. We try to keep this document up-to-date, but you’ll find the authoritative header files and reference source in the Android developer package.          v3.13 March 10 2017 Questions? Email support@penthera.com page 1 of 32
                                                        Table of Contents Other Documentation Let’s Get Started Unpacking SdkDemo: A Reference Client Building Your Own App Common Functions Enqueue an Asset Access Downloaded/Queued Assets Remove an Asset Flush Queue Expire an Asset Configure Download Rules Retrieve and Persist Widevine Licenses Playout with Widevine Persisted License Set Availability Window for an Asset Enable Device for Download Using/Configuring Broadcasts Configure Logging Play a Downloaded Asset Subscriptions Appendix A: How Downloading Works Appendix B: Manually Creating an App       v3.13 March 10 2017 Questions? Email support@penthera.com page 2 of 32

Navigation menu