Bagikan melalui


PlayToSource.PreferredSourceUri Properti

Definisi

Menentukan Pengidentifikasi Sumber Daya Seragam (URI) pilihan untuk aliran media, seperti server media berbasis cloud, yang digunakan untuk Play To berdasarkan referensi.

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

Nilai Properti

URI pilihan untuk mengalirkan media.

Atribut

Keterangan

Play To dengan referensi memungkinkan halaman web dan aplikasi UWP untuk memutar konten yang dilindungi Digital Rights Management (DRM). Aplikasi ini menentukan Pengidentifikasi Sumber Daya Seragam (URI) pilihan yang akan dikirim ke perangkat target PlayTo. Pengidentifikasi Sumber Daya Seragam (URI) ini dapat menunjuk ke server media berbasis cloud. Jika preferredSourceUri ada, perangkat target PlayTo dapat melakukan streaming konten langsung dari cloud, yang dapat dilindungi Digital Rights Management (DRM), alih-alih streaming konten dari komputer Windows 8.1 yang harus menjadi konten yang tidak terlindungi.

Berlaku untuk