API / CLASS REFERENCE
UltralightFrameEvent
Inherits: RefCounted
Read-only document and frame identity for lifecycle signals.
Immutable information for one lifecycle callback. navigation_id identifies the main document generation; frame_id identifies the SDK frame. A signal handler can navigate or close the View, so retain and compare the generation when scheduling later work.
Properties
| Member | Type | Default |
|---|---|---|
navigation_id | int | — |
frame_id | int | — |
is_main_frame | bool | — |
url | String | — |
Methods
get_navigation_id() → int constget_frame_id() → int constis_main_frame() → bool constget_url() → String const
frame_idint
SDK frame identifier. Read-only.
Default: — · Accessors: get_frame_id() · Read-only
is_main_framebool
Whether this event belongs to the main document.
Default: — · Accessors: is_main_frame() · Read-only
urlString
URL supplied by the SDK for this frame event.
Default: — · Accessors: get_url() · Read-only
get_frame_id
get_frame_id() → int constReturn frame_id.
is_main_frame
is_main_frame() → bool constReturn is_main_frame.
get_url
get_url() → String constReturn url.