Shaka Player Embedded
Classes | Public Member Functions | Friends | List of all members
shaka::eme::Data Class Referencefinal

#include <data.h>

Classes

class  Impl
 

Public Member Functions

 Data (const Data &other)=delete
 
 Data (Data &&other)
 
 ~Data ()
 
Dataoperator= (const Data &other)=delete
 
Dataoperator= (Data &&other)
 
const uint8_t * data () const
 
size_t size () const
 

Friends

class ClearKeyImplementationTest
 
class js::eme::MediaKeys
 
class js::eme::MediaKeySession
 

Detailed Description

Defines a wrapper around data passed into EME. This type will keep the backing data alive so long as this object is alive.

This type is not thread-safe.

Definition at line 46 of file data.h.

Constructor & Destructor Documentation

§ Data() [1/2]

shaka::eme::Data::Data ( const Data other)
delete

§ Data() [2/2]

shaka::eme::Data::Data ( Data &&  other)
default

§ ~Data()

shaka::eme::Data::~Data ( )

Definition at line 41 of file data.cc.

Member Function Documentation

§ data()

const uint8_t * shaka::eme::Data::data ( ) const
Returns
A raw pointer to the data.

Definition at line 45 of file data.cc.

§ operator=() [1/2]

Data& shaka::eme::Data::operator= ( const Data other)
delete

§ operator=() [2/2]

Data & shaka::eme::Data::operator= ( Data &&  other)
default

§ size()

size_t shaka::eme::Data::size ( ) const
Returns
The number of bytes in this data.

Definition at line 49 of file data.cc.

Friends And Related Function Documentation

§ ClearKeyImplementationTest

friend class ClearKeyImplementationTest
friend

Definition at line 61 of file data.h.

§ js::eme::MediaKeys

friend class js::eme::MediaKeys
friend

Definition at line 62 of file data.h.

§ js::eme::MediaKeySession

friend class js::eme::MediaKeySession
friend

Definition at line 63 of file data.h.


The documentation for this class was generated from the following files: