m (Mark moved page Gn:act storeFileInfo to gn:act storeFileInfo) |
m (formatting) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
[[Category:Action_Library]] | [[Category:Action_Library]] | ||
− | + | ;Description: Action used to store information about a specified file internally. This information is later used by <code>[[gn:act_isIdenticalFile]]</code> action. | |
− | ; | + | ;Action returns: boolean |
+ | ==Action signatures== | ||
− | + | ===Store file info=== | |
− | ; | + | :;<code>[gn:act_storeFileInfo]|[source]</code> |
− | ; | + | :{| class="wikitable sortable" style="font-size: 85%; text-align: left;" |
+ | |- | ||
+ | ! scope="col" | Parameter | ||
+ | ! scope="col" | Description | ||
+ | |- | ||
+ | | <code>[[source]]</code> | ||
+ | | [[source]] from where the file information will be used | ||
+ | * Valid [[source|sources]]: | ||
+ | ** <code>@drawable</code> | ||
+ | ** hardcoded file path | ||
+ | |- | ||
+ | |} | ||
− | == | + | ====Example==== |
− | + | :<code>@drawable/resourceId</code> - file reference<br> | |
− | + | :; ⤷ <code>[gn:act_isIdenticalFile]|[@drawable/resourceId]</code> | |
− | ;<code>@drawable/resourceId</code> | + | <hr> |
Latest revision as of 17:09, 12 July 2017
gn:act_storeFileInfo
- Description
- Action used to store information about a specified file internally. This information is later used by
gn:act_isIdenticalFile
action.
- Action returns
- boolean
Action signatures
Store file info
[gn:act_storeFileInfo]|[source]
Parameter Description source
source from where the file information will be used - Valid sources:
@drawable
- hardcoded file path
- Valid sources:
Example
@drawable/resourceId
- file reference
- ⤷
[gn:act_isIdenticalFile]|[@drawable/resourceId]
- ⤷