Contents

init(role:documentURL:)

Creates a label that displays information about the assigned document.

Declaration

@MainActor @preconcurrency init(role: AssignedDocumentLabel.Role, documentURL: URL)

Parameters

  • role:

    The type of document information to display.

  • documentURL:

    The URL of the assigned document.