ExoMediaDrm.AppManagedProvider


public final class ExoMediaDrm.AppManagedProvider implements ExoMediaDrm.Provider


Provides an 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 release on the instance when it's no longer being used.

Summary

Public constructors

Creates an instance that provides the given ExoMediaDrm.

Public methods

ExoMediaDrm

Returns an ExoMediaDrm instance with an incremented reference count.

Public constructors

AppManagedProvider

public AppManagedProvider(ExoMediaDrm exoMediaDrm)

Creates an instance that provides the given ExoMediaDrm.

Public methods

acquireExoMediaDrm

public ExoMediaDrm acquireExoMediaDrm(UUID uuid)

Returns an ExoMediaDrm instance with an incremented reference count. When the caller no longer needs the instance, it must call release to decrement the reference count.