PresentationConnectionAvailableEvent

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.

Giao diện PresentationConnectionAvailableEvent của Presentation API được kích hoạt trên một PresentationRequest khi một kết nối được liên kết với đối tượng được tạo.

Tác nhân người dùng kiểm soát kích hoạt một sự kiện đáng tin cậy có tên connectionavailable trên một PresentationRequest khi một kết nối liên kết với đối tượng được tạo. Sự kiện được kích hoạt tại phiên bản PresentationRequest, 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.

Event PresentationConnectionAvailableEvent

Hàm khởi tạo

PresentationConnectionAvailableEvent() Experimental

Tạo một PresentationConnectionAvailableEvent mới.

Thuộc tính phiên bản

PresentationConnectionAvailableEvent.connection Read only Experimental

Trả về một tham chiếu đến đối tượng PresentationConnection đã kích hoạt sự kiện.

Thông số kỹ thuật

Specification
Presentation API
# interface-presentationconnectionavailableevent

Tương thích trình duyệt