UniWebViewChannelMethodHandleRequest

Summary

Represents the request of a loading used in request handler.

Properties Summary

The URL of the request.

Whether the request is for the main frame (top-level document) or a sub-frame.

Properties

The URL of the request.

Whether the request is for the main frame (top-level document) or a sub-frame.

Returns true for main frame requests, false for non-main frame requests (including iframes and other sub-resources).

Note: On older Android versions (API level < 24), this may always return true due to platform limitations in distinguishing between main frame and sub-frame requests.