ExoMediaDrm.AppManagedProvider


class ExoMediaDrm.AppManagedProvider : 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 functions

ExoMediaDrm!

Returns an ExoMediaDrm instance with an incremented reference count.

Public constructors

AppManagedProvider

AppManagedProvider(exoMediaDrm: ExoMediaDrm!)

Creates an instance that provides the given ExoMediaDrm.

Public functions

acquireExoMediaDrm

fun acquireExoMediaDrm(uuid: UUID!): ExoMediaDrm!

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.