GetAllFramesCallbackDetails constructor

GetAllFramesCallbackDetails({
  1. required bool errorOccurred,
  2. required int processId,
  3. required int frameId,
  4. required int parentFrameId,
  5. required String url,
  6. required String documentId,
  7. String? parentDocumentId,
  8. required DocumentLifecycle documentLifecycle,
  9. required FrameType frameType,
})

Implementation

GetAllFramesCallbackDetails({
  /// True if the last navigation in this frame was interrupted by an error,
  /// i.e. the onErrorOccurred event fired.
  required bool errorOccurred,

  /// The ID of the process that runs the renderer for this frame.
  required int processId,

  /// The ID of the frame. 0 indicates that this is the main frame; a positive
  /// value indicates the ID of a subframe.
  required int frameId,

  /// The ID of the parent frame, or `-1` if this is the main frame.
  required int parentFrameId,

  /// The URL currently associated with this frame.
  required String url,

  /// A UUID of the document loaded.
  required String documentId,

  /// A UUID of the parent document owning this frame. This is not set if
  /// there is no parent.
  String? parentDocumentId,

  /// The lifecycle the document is in.
  required DocumentLifecycle documentLifecycle,

  /// The type of frame the navigation occurred in.
  required FrameType frameType,
}) : _wrapped = $js.GetAllFramesCallbackDetails(
        errorOccurred: errorOccurred,
        processId: processId,
        frameId: frameId,
        parentFrameId: parentFrameId,
        url: url,
        documentId: documentId,
        parentDocumentId: parentDocumentId,
        documentLifecycle: documentLifecycle.toJS,
        frameType: frameType.toJS,
      );