c2pa.selecteditsandactivity
Home > c2pa > selectEditsAndActivity
selectEditsAndActivity() function
Gets a list of categorized actions, derived from the provided manifest's c2pa.action
assertion and a dictionary assertion, if available. If a dictionary is incuded, this function will initiate an HTTP request to fetch the dictionary data.
export declare function selectEditsAndActivity(manifest: Manifest, locale?: string, iconVariant?: IconVariant): Promise<TranslatedDictionaryCategory[] | null>;
Parameters
Parameter | Type | Description |
---|---|---|
manifest | Manifest | Manifest to derive data from |
locale | string | (Optional) BCP-47 locale code (e.g. en-US , fr-FR ) to request localized strings, if available |
iconVariant | IconVariant | (Optional) Requests icon variant (e.g. light , dark ), if available |
Promise<TranslatedDictionaryCategory[] | null>