You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: DEFINE.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -110,13 +110,13 @@ The most important functions of *param* are:
110
110
111
111
**param:getApplicationContext()*: see remarks below
112
112
**param:getThis()*: the current object instance or *nil* if the method is static
113
-
**param:getArgument(index)*: get the argument at the specified index (one based)
113
+
**param:getArgument(index)*: get the argument at the specified index (zero based)
114
114
**param:setArgument(index, value)*
115
115
**param:getResult()*: only available after the hooked method has been executed
116
116
**param:setResult(value)*
117
117
* For other functions, see [here](https://github.com/M66B/XPrivacyLua/blob/master/app/src/main/java/eu/faircode/xlua/XParam.java) for the available public methods
118
118
119
-
The before/after function should return *true* when something was done and *false* otherwise.
119
+
The before/after function **must** return *true* when something was done and**must** return*false* otherwise.
120
120
XPrivacyLua will show the last date/time of the last time *true* was returned.
0 commit comments