Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandChangeAppUserSettings + const CommandGetOsAppState + const CommandInstall + const CommandLaunch + const CommandLaunchFilesInApp + const CommandOpenCurrentPageInApp + const CommandUninstall + type ChangeAppUserSettingsParams struct + DisplayMode DisplayMode + LinkCapturing bool + ManifestID string + func ChangeAppUserSettings(manifestID string) *ChangeAppUserSettingsParams + func (p *ChangeAppUserSettingsParams) Do(ctx context.Context) (err error) + func (p ChangeAppUserSettingsParams) WithDisplayMode(displayMode DisplayMode) *ChangeAppUserSettingsParams + func (p ChangeAppUserSettingsParams) WithLinkCapturing(linkCapturing bool) *ChangeAppUserSettingsParams + func (v *ChangeAppUserSettingsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ChangeAppUserSettingsParams) UnmarshalJSON(data []byte) error + func (v ChangeAppUserSettingsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ChangeAppUserSettingsParams) MarshalJSON() ([]byte, error) + type DisplayMode string + const DisplayModeBrowser + const DisplayModeStandalone + func (t *DisplayMode) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DisplayMode) UnmarshalJSON(buf []byte) error + func (t DisplayMode) MarshalEasyJSON(out *jwriter.Writer) + func (t DisplayMode) MarshalJSON() ([]byte, error) + func (t DisplayMode) String() string + type FileHandler struct + Accepts []*FileHandlerAccept + Action string + DisplayName string + func (v *FileHandler) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *FileHandler) UnmarshalJSON(data []byte) error + func (v FileHandler) MarshalEasyJSON(w *jwriter.Writer) + func (v FileHandler) MarshalJSON() ([]byte, error) + type FileHandlerAccept struct + FileExtensions []string + MediaType string + func (v *FileHandlerAccept) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *FileHandlerAccept) UnmarshalJSON(data []byte) error + func (v FileHandlerAccept) MarshalEasyJSON(w *jwriter.Writer) + func (v FileHandlerAccept) MarshalJSON() ([]byte, error) + type GetOsAppStateParams struct + ManifestID string + func GetOsAppState(manifestID string) *GetOsAppStateParams + func (p *GetOsAppStateParams) Do(ctx context.Context) (badgeCount int64, fileHandlers []*FileHandler, err error) + func (v *GetOsAppStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetOsAppStateParams) UnmarshalJSON(data []byte) error + func (v GetOsAppStateParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetOsAppStateParams) MarshalJSON() ([]byte, error) + type GetOsAppStateReturns struct + BadgeCount int64 + FileHandlers []*FileHandler + func (v *GetOsAppStateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetOsAppStateReturns) UnmarshalJSON(data []byte) error + func (v GetOsAppStateReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetOsAppStateReturns) MarshalJSON() ([]byte, error) + type InstallParams struct + InstallURLOrBundleURL string + ManifestID string + func Install(manifestID string) *InstallParams + func (p *InstallParams) Do(ctx context.Context) (err error) + func (p InstallParams) WithInstallURLOrBundleURL(installURLOrBundleURL string) *InstallParams + func (v *InstallParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *InstallParams) UnmarshalJSON(data []byte) error + func (v InstallParams) MarshalEasyJSON(w *jwriter.Writer) + func (v InstallParams) MarshalJSON() ([]byte, error) + type LaunchFilesInAppParams struct + Files []string + ManifestID string + func LaunchFilesInApp(manifestID string, files []string) *LaunchFilesInAppParams + func (p *LaunchFilesInAppParams) Do(ctx context.Context) (targetIDs []target.ID, err error) + func (v *LaunchFilesInAppParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LaunchFilesInAppParams) UnmarshalJSON(data []byte) error + func (v LaunchFilesInAppParams) MarshalEasyJSON(w *jwriter.Writer) + func (v LaunchFilesInAppParams) MarshalJSON() ([]byte, error) + type LaunchFilesInAppReturns struct + TargetIDs []target.ID + func (v *LaunchFilesInAppReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LaunchFilesInAppReturns) UnmarshalJSON(data []byte) error + func (v LaunchFilesInAppReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v LaunchFilesInAppReturns) MarshalJSON() ([]byte, error) + type LaunchParams struct + ManifestID string + URL string + func Launch(manifestID string) *LaunchParams + func (p *LaunchParams) Do(ctx context.Context) (targetID target.ID, err error) + func (p LaunchParams) WithURL(url string) *LaunchParams + func (v *LaunchParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LaunchParams) UnmarshalJSON(data []byte) error + func (v LaunchParams) MarshalEasyJSON(w *jwriter.Writer) + func (v LaunchParams) MarshalJSON() ([]byte, error) + type LaunchReturns struct + TargetID target.ID + func (v *LaunchReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *LaunchReturns) UnmarshalJSON(data []byte) error + func (v LaunchReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v LaunchReturns) MarshalJSON() ([]byte, error) + type OpenCurrentPageInAppParams struct + ManifestID string + func OpenCurrentPageInApp(manifestID string) *OpenCurrentPageInAppParams + func (p *OpenCurrentPageInAppParams) Do(ctx context.Context) (err error) + func (v *OpenCurrentPageInAppParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *OpenCurrentPageInAppParams) UnmarshalJSON(data []byte) error + func (v OpenCurrentPageInAppParams) MarshalEasyJSON(w *jwriter.Writer) + func (v OpenCurrentPageInAppParams) MarshalJSON() ([]byte, error) + type UninstallParams struct + ManifestID string + func Uninstall(manifestID string) *UninstallParams + func (p *UninstallParams) Do(ctx context.Context) (err error) + func (v *UninstallParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *UninstallParams) UnmarshalJSON(data []byte) error + func (v UninstallParams) MarshalEasyJSON(w *jwriter.Writer) + func (v UninstallParams) MarshalJSON() ([]byte, error)