PresentationConnectionAvailableEvent: thuộc tính connection
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Khi một kết nối đến được tạo, một tác nhân người dùng nhận kích hoạt một sự kiện đáng tin cậy có tên connectionavailable trên một PresentationReceiver. Sự kiện đáng tin cậy được kích hoạt tại màn hình của bộ điều khiển trình bày, sử dụng giao diện PresentationConnectionAvailableEvent, với thuộc tính connection được đặt thành đối tượng PresentationConnection đã được tạo.
Sự kiện được kích hoạt cho tất cả các kết nối được tạo khi theo dõi các kết nối trình bày đến.