CastingSource Classe

Définition

Représente le contenu multimédia qui peut être envoyé à un autre appareil.

public ref class CastingSource 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 CastingSource 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 CastingSource
Public NotInheritable Class CastingSource
Héritage
Object Platform::Object IInspectable CastingSource
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Remarques

Vous pouvez obtenir cet objet à partir d’une balise MediaPlayer, Image ou HTML en appelant la méthode GetAsCastingSource correspondante. Dans la version actuelle, les applications doivent utiliser MediaPlayer et MediaPlayerElement pour la lecture multimédia, mais le contrôle MediaElement hérité fournit également une méthode GetAsCastingSource .

Propriétés

PreferredSourceUri

Obtient ou définit un AUTRE URI pour le contenu à utiliser avec DLNA ByRef.

S’applique à

Voir aussi