schemas/browser library

Apple's browser App Schemas, as typed annotations.

Annotate a class with an entity annotation, such as @BrowserTab(...), and its fields with @BrowserTabField.<member>.

Turn on intents that belong to no entity with @BrowserIntents(...) on the class implementing the generated BrowserAssistantHandler.

Not adoptable: openURL (no public definition in the SDK), search (deprecated: Use .system.searchInApp instead), searchWebsite (no public definition in the SDK), searchableWebsite (no public definition in the SDK).

Classes

BrowserBookmark
Adopts Apple's browser.bookmark schema ("Bookmark", iOS 18+, macOS 15+).
BrowserBookmarkField
Members of browser.bookmark, used as field annotations: @BrowserBookmarkField.name ….
BrowserBookmarkSchema
Marks members of browser.bookmark.
BrowserClearHistoryTimeFrame
browser.clearHistoryTimeFrame ("Clear History Time Frame"), whose cases the app defines: put @BrowserClearHistoryTimeFrame() on a Dart enum, and each of its values becomes a case Siri can use.
BrowserIntents
Turns on Apple's browser intents that belong to no entity. Put it on the class that implements the generated BrowserAssistantHandler.
BrowserReadingListItem
Adopts Apple's browser.readingListItem schema ("Reading List Item", iOS 27+, macOS 27+).
BrowserReadingListItemField
Members of browser.readingListItem, used as field annotations: @BrowserReadingListItemField.title ….
BrowserReadingListItemSchema
Marks members of browser.readingListItem.
BrowserTab
Adopts Apple's browser.tab schema ("Tab", iOS 18+, macOS 15+).
BrowserTabField
Members of browser.tab, used as field annotations: @BrowserTabField.name ….
BrowserTabGroup
Adopts Apple's browser.tabGroup schema ("Tab Group", iOS 27+, macOS 27+).
BrowserTabGroupField
Members of browser.tabGroup, used as field annotations: @BrowserTabGroupField.title ….
BrowserTabGroupSchema
Marks members of browser.tabGroup.
BrowserTabSchema
Marks members of browser.tab.
BrowserWindow
Adopts Apple's browser.window schema ("Window", iOS 18+, macOS 15+).
BrowserWindowField
Members of browser.window, used as field annotations: @BrowserWindowField.tabs ….
BrowserWindowSchema
Marks members of browser.window.
FixedBrowserTab
A fixed browser.tab instance, for schemas that require one.
FixedBrowserTabGroup
A fixed browser.tabGroup instance, for schemas that require one.
FixedBrowserWindow
A fixed browser.window instance, for schemas that require one.