UniWebViewSafeBrowsingEventMetadata
Summary
Strongly typed metadata emitted with every Safe Browsing callback.
Native Custom Tabs and SFSafariViewController events send JSON payloads describing the lifecycle transition, including timestamps and the native source. UniWebView parses that payload into this class so you can inspect the data without touching JSON manually.
EventKind indicates which stage triggered the callback:
Unknown: Payload could not be parsed, or native side omitted an event name.NavigationStarted: Initial navigation began.NavigationFinished: Page load finished successfully.NavigationFailed: Page load failed. Inspect theRawpayload for error details.TabHidden: User dismissed the Safe Browsing tab (maps toOnSafeBrowsingClosed/OnSafeBrowsingFinished).
Properties Summary
Event classification derived from the native payload. | |
Native component that emitted the event (for example, | |
Epoch timestamp (milliseconds) reported by the native payload, if provided. | |
UTC representation of | |
Local time representation of | |
Indicates whether the JSON payload was parsed successfully. | |
Original JSON payload from native side, useful for diagnostics. |
Properties
Event classification derived from the native payload.
Native component that emitted the event (for example, CustomTabsCallback or SFSafariViewController).
Epoch timestamp (milliseconds) reported by the native payload, if provided.
UTC representation of Timestamp, or null when the payload does not include a timestamp.
Local time representation of TimestampUtc, convenient for logging in the player's timezone.
Indicates whether the JSON payload was parsed successfully.
Original JSON payload from native side, useful for diagnostics.
