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.bookmarkschema ("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
browserintents that belong to no entity. Put it on the class that implements the generatedBrowserAssistantHandler. - BrowserReadingListItem
-
Adopts Apple's
browser.readingListItemschema ("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.tabschema ("Tab", iOS 18+, macOS 15+). - BrowserTabField
-
Members of
browser.tab, used as field annotations:@BrowserTabField.name …. - BrowserTabGroup
-
Adopts Apple's
browser.tabGroupschema ("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.windowschema ("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.tabinstance, for schemas that require one. - FixedBrowserTabGroup
-
A fixed
browser.tabGroupinstance, for schemas that require one. - FixedBrowserWindow
-
A fixed
browser.windowinstance, for schemas that require one.