Lớp: ShutdownEvent
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eShutdownEvent\u003c/code\u003e is dispatched when a Cast application is shut down.\u003c/p\u003e\n"],["\u003cp\u003eIt is a class extending \u003ccode\u003ecast.framework.system.Event\u003c/code\u003e and includes a \u003ccode\u003etype\u003c/code\u003e property indicating the event type.\u003c/p\u003e\n"],["\u003cp\u003eThe event is dispatched by \u003ccode\u003ecast.framework.CastReceiverContext\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class: ShutdownEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[system](/cast/docs/reference/web_receiver/cast.framework.system).ShutdownEvent\n==================================================================================================================================================\n\nclass static\n\nAn event dispatched by [cast.framework.CastReceiverContext](/cast/docs/reference/web_receiver/cast.framework.CastReceiverContext) when the\napplication is shut down.\n\nConstructor\n-----------\n\n### ShutdownEvent\n\nnew\nShutdownEvent()\n\nExtends\n: [cast.framework.system.Event](/cast/docs/reference/web_receiver/cast.framework.system.Event)\n\nProperty\n--------\n\n### type\n\nnon-null [cast.framework.system.EventType](/cast/docs/reference/web_receiver/cast.framework.system#.EventType)\n\nThe event type.\n\nInherited from\n: [cast.framework.system.Event#type](/cast/docs/reference/web_receiver/cast.framework.system.Event#type)"]]