public final class SQLiteCustomFunction extends Object
Modifier and Type | Field and Description |
---|---|
SQLiteDatabase.CustomFunction |
callback |
String |
name |
int |
numArgs |
Constructor and Description |
---|
SQLiteCustomFunction(String name,
int numArgs,
SQLiteDatabase.CustomFunction callback)
Create custom function.
|
public final String name
public final int numArgs
public final SQLiteDatabase.CustomFunction callback
public SQLiteCustomFunction(String name, int numArgs, SQLiteDatabase.CustomFunction callback)
name
- The name of the sqlite3 function.numArgs
- The number of arguments for the function, or -1 to
support any number of arguments.callback
- The callback to invoke when the function is executed.