Condividi tramite


PlayToSource.PreferredSourceUri Proprietà

Definizione

Specifica un URI (Uniform Resource Identifier) preferito per il flusso multimediale, ad esempio un server multimediale basato sul cloud, usato per play to per riferimento.

public:
 property Uri ^ PreferredSourceUri { Uri ^ get(); void set(Uri ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
Uri PreferredSourceUri();

void PreferredSourceUri(Uri value);
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
Uri PreferredSourceUri();

void PreferredSourceUri(Uri value);
public System.Uri PreferredSourceUri { [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public System.Uri PreferredSourceUri { [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PlayToSourceWithPreferredSourceUri may be altered or unavailable for releases after Windows 10. Instead, use CastingSource.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var uri = playToSource.preferredSourceUri;
playToSource.preferredSourceUri = uri;
Public Property PreferredSourceUri As Uri

Valore della proprietà

URI preferito da cui trasmettere i supporti.

Attributi

Commenti

Play To by reference consente alle pagine Web e alle app UWP di riprodurre contenuti protetti da Digital Rights Management (DRM). L'app specifica un URI (Uniform Resource Identifier) preferito che verrà inviato al dispositivo di destinazione PlayTo. Questo URI (Uniform Resource Identifier) può puntare a un server multimediale basato sul cloud. Se è presente il valore preferredSourceUri, il dispositivo di destinazione PlayTo può trasmettere contenuti direttamente dal cloud, che possono essere protetti da Digital Rights Management (DRM), anziché trasmettere contenuto dal computer Windows 8.1 che deve essere contenuto non protetto.

Si applica a