Share via


MediaStreamSampleProtectionProperties Classe

Definizione

Rappresenta le proprietà di una raccolta specifiche della protezione DRM (Digital Rights Management) di MediaStreamSample.

public ref class MediaStreamSampleProtectionProperties sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaStreamSampleProtectionProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaStreamSampleProtectionProperties
Public NotInheritable Class MediaStreamSampleProtectionProperties
Ereditarietà
Object Platform::Object IInspectable MediaStreamSampleProtectionProperties
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

Vedi l'esempio MediaStreamSource per un esempio di uso dell'origine di flusso multimediale in un'app di Windows universale.

Metodi

GetInitializationVector(Byte[])

Ottiene il vettore di inizializzazione DIGITAL Rights Management (DRM) da MediaStreamSample.

GetKeyIdentifier(Byte[])

Ottiene l'identificatore di chiave DRM (Digital Rights Management) da MediaStreamSample.

GetSubSampleMapping(Byte[])

Ottiene il mapping secondario DRM (Digital Rights Management) dall'oggetto MediaStreamSample.

SetInitializationVector(Byte[])

Imposta il vettore di inizializzazione DRM (Digital Rights Management) per MediaStreamSample.

SetKeyIdentifier(Byte[])

Imposta l'identificatore di chiave DRM (Digital Rights Management) per MediaStreamSample.

SetSubSampleMapping(Byte[])

Imposta il mapping secondario drm (Digital Rights Management) per MediaStreamSample.

Si applica a

Vedi anche