PushSubscription: expirationTime property
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2023.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Web Workers.
expirationTime là thuộc tính chỉ đọc của giao diện
PushSubscription và trả về một DOMHighResTimeStamp
biểu thị thời điểm hết hạn của đăng ký đẩy, nếu có, hoặc null trong trường hợp ngược lại.
Giá trị
Một DOMHighResTimeStamp hoặc null.
Thông số kỹ thuật
| Specification |
|---|
| Push API> # dom-pushsubscription-expirationtime> |