| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <StreamCrypto.h>
  
Public Member Functions | |
| void | SetKeySystem (STREAM_CRYPTO_KEY_SYSTEM keySystem) | 
| To set keysystem for encrypted media, STREAM_CRYPTO_KEY_SYSTEM_NONE for unencrypted media.   | |
| STREAM_CRYPTO_KEY_SYSTEM | GetKeySystem () const | 
| Get keysystem for encrypted media.   | |
| void | SetFlags (uint8_t flags) | 
| Set bit flags to use special conditions, see STREAM_CRYPTO_FLAGS for available flags.   | |
| uint8_t | GetFlags () const | 
| Get flags for special conditions.   | |
| void | SetSessionId (const std::string &sessionId) | 
| To set the crypto session key identifier.   | |
| std::string | GetSessionId () const | 
| To get the crypto session key identifier.   | |
  Public Member Functions inherited from kodi::addon::CStructHdl< StreamCryptoSession, STREAM_CRYPTO_SESSION > | |
| CStructHdl () | |
| CStructHdl (const CStructHdl &cppClass) | |
| CStructHdl (const STREAM_CRYPTO_SESSION *cStructure) | |
| CStructHdl (STREAM_CRYPTO_SESSION *cStructure) | |
| const CStructHdl & | operator= (const CStructHdl &right) | 
| const CStructHdl & | operator= (const STREAM_CRYPTO_SESSION &right) | 
| virtual | ~CStructHdl () | 
| operator STREAM_CRYPTO_SESSION * () | |
| operator const STREAM_CRYPTO_SESSION * () const | |
| const STREAM_CRYPTO_SESSION * | GetCStructure () const | 
| STREAM_CRYPTO_SESSION * | release () | 
Additional Inherited Members | |
  Protected Attributes inherited from kodi::addon::CStructHdl< StreamCryptoSession, STREAM_CRYPTO_SESSION > | |
| STREAM_CRYPTO_SESSION * | m_cStructure |