android-components / mozilla.components.browser.state.action / ContentAction

ContentAction

sealed class ContentAction : BrowserAction (source)

BrowserAction implementations related to updating the ContentState of a single SessionState inside BrowserState.

Types

Name Summary
AddFindResultAction data class AddFindResultAction : ContentAction
Adds a FindResultState to the ContentState with the given sessionId.
ClearFindResultsAction data class ClearFindResultsAction : ContentAction
Removes all FindResultStates of the ContentState with the given sessionId.
ConsumeDownloadAction data class ConsumeDownloadAction : ContentAction
Removes the DownloadState of the ContentState with the given sessionId.
ConsumeHitResultAction data class ConsumeHitResultAction : ContentAction
Removes the HitResult of the ContentState with the given sessionId.
ConsumePromptRequestAction data class ConsumePromptRequestAction : ContentAction
Removes the PromptRequest of the ContentState with the given sessionId.
ConsumeSearchRequestAction data class ConsumeSearchRequestAction : ContentAction
Removes the SearchRequest of the ContentState with the given sessionId.
ConsumeWindowRequestAction data class ConsumeWindowRequestAction : ContentAction
Removes the WindowRequest of the ContentState with the given sessionId.
RemoveIconAction data class RemoveIconAction : ContentAction
Removes the icon of the ContentState with the given sessionId.
RemoveThumbnailAction data class RemoveThumbnailAction : ContentAction
Removes the thumbnail of the ContentState with the given sessionId.
UpdateDownloadAction data class UpdateDownloadAction : ContentAction
Updates the DownloadState of the ContentState with the given sessionId.
UpdateHitResultAction data class UpdateHitResultAction : ContentAction
Updates the HitResult of the ContentState with the given sessionId.
UpdateIconAction data class UpdateIconAction : ContentAction
Updates the icon of the ContentState with the given sessionId.
UpdateLoadingStateAction data class UpdateLoadingStateAction : ContentAction
Updates the loading state of the ContentState with the given sessionId.
UpdateProgressAction data class UpdateProgressAction : ContentAction
Updates the progress of the ContentState with the given sessionId.
UpdatePromptRequestAction data class UpdatePromptRequestAction : ContentAction
Updates the PromptRequest of the ContentState with the given sessionId.
UpdateSearchRequestAction data class UpdateSearchRequestAction : ContentAction
Updates the SearchRequest of the ContentState with the given sessionId.
UpdateSearchTermsAction data class UpdateSearchTermsAction : ContentAction
Updates the search terms of the ContentState with the given sessionId.
UpdateSecurityInfoAction data class UpdateSecurityInfoAction : ContentAction
Updates the SecurityInfoState of the ContentState with the given sessionId.
UpdateThumbnailAction data class UpdateThumbnailAction : ContentAction
Updates the thumbnail of the ContentState with the given sessionId.
UpdateTitleAction data class UpdateTitleAction : ContentAction
Updates the title of the ContentState with the given sessionId.
UpdateUrlAction data class UpdateUrlAction : ContentAction
Updates the URL of the ContentState with the given sessionId.
UpdateWindowRequestAction data class UpdateWindowRequestAction : ContentAction
Updates the WindowRequest of the ContentState with the given sessionId.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
AddFindResultAction data class AddFindResultAction : ContentAction
Adds a FindResultState to the ContentState with the given sessionId.
ClearFindResultsAction data class ClearFindResultsAction : ContentAction
Removes all FindResultStates of the ContentState with the given sessionId.
ConsumeDownloadAction data class ConsumeDownloadAction : ContentAction
Removes the DownloadState of the ContentState with the given sessionId.
ConsumeHitResultAction data class ConsumeHitResultAction : ContentAction
Removes the HitResult of the ContentState with the given sessionId.
ConsumePromptRequestAction data class ConsumePromptRequestAction : ContentAction
Removes the PromptRequest of the ContentState with the given sessionId.
ConsumeSearchRequestAction data class ConsumeSearchRequestAction : ContentAction
Removes the SearchRequest of the ContentState with the given sessionId.
ConsumeWindowRequestAction data class ConsumeWindowRequestAction : ContentAction
Removes the WindowRequest of the ContentState with the given sessionId.
RemoveIconAction data class RemoveIconAction : ContentAction
Removes the icon of the ContentState with the given sessionId.
RemoveThumbnailAction data class RemoveThumbnailAction : ContentAction
Removes the thumbnail of the ContentState with the given sessionId.
UpdateDownloadAction data class UpdateDownloadAction : ContentAction
Updates the DownloadState of the ContentState with the given sessionId.
UpdateHitResultAction data class UpdateHitResultAction : ContentAction
Updates the HitResult of the ContentState with the given sessionId.
UpdateIconAction data class UpdateIconAction : ContentAction
Updates the icon of the ContentState with the given sessionId.
UpdateLoadingStateAction data class UpdateLoadingStateAction : ContentAction
Updates the loading state of the ContentState with the given sessionId.
UpdateProgressAction data class UpdateProgressAction : ContentAction
Updates the progress of the ContentState with the given sessionId.
UpdatePromptRequestAction data class UpdatePromptRequestAction : ContentAction
Updates the PromptRequest of the ContentState with the given sessionId.
UpdateSearchRequestAction data class UpdateSearchRequestAction : ContentAction
Updates the SearchRequest of the ContentState with the given sessionId.
UpdateSearchTermsAction data class UpdateSearchTermsAction : ContentAction
Updates the search terms of the ContentState with the given sessionId.
UpdateSecurityInfoAction data class UpdateSecurityInfoAction : ContentAction
Updates the SecurityInfoState of the ContentState with the given sessionId.
UpdateThumbnailAction data class UpdateThumbnailAction : ContentAction
Updates the thumbnail of the ContentState with the given sessionId.
UpdateTitleAction data class UpdateTitleAction : ContentAction
Updates the title of the ContentState with the given sessionId.
UpdateUrlAction data class UpdateUrlAction : ContentAction
Updates the URL of the ContentState with the given sessionId.
UpdateWindowRequestAction data class UpdateWindowRequestAction : ContentAction
Updates the WindowRequest of the ContentState with the given sessionId.