public static final class ExoMediaDrm.AppManagedProvider extends java.lang.Object implements ExoMediaDrm.Provider
ExoMediaDrm instance owned by the app.
Note that when using this provider the app will have instantiated the ExoMediaDrm
instance, and remains responsible for calling ExoMediaDrm.release() on the instance
when it's no longer being used.
| Constructor and Description |
|---|
AppManagedProvider(ExoMediaDrm exoMediaDrm)
Creates an instance that provides the given
ExoMediaDrm. |
| Modifier and Type | Method and Description |
|---|---|
ExoMediaDrm |
acquireExoMediaDrm(java.util.UUID uuid)
Returns an
ExoMediaDrm instance with an incremented reference count. |
public AppManagedProvider(ExoMediaDrm exoMediaDrm)
ExoMediaDrm.public ExoMediaDrm acquireExoMediaDrm(java.util.UUID uuid)
ExoMediaDrm.ProviderExoMediaDrm instance with an incremented reference count. When the caller
no longer needs the instance, it must call ExoMediaDrm.release() to decrement the
reference count.acquireExoMediaDrm in interface ExoMediaDrm.Provider