-
public class SQLiteFunction
-
-
Field Summary
Fields Modifier and Type Field Description public final Stringnamepublic final intnumArgspublic final SQLiteDatabase.Functioncallback
-
Constructor Summary
Constructors Constructor Description SQLiteFunction(String name, int numArgs, SQLiteDatabase.Function callback)Create custom function. SQLiteFunction(String name, int numArgs, SQLiteDatabase.Function callback, int flags)Create custom function.
-
-
-
Constructor Detail
-
SQLiteFunction
SQLiteFunction(String name, int numArgs, SQLiteDatabase.Function callback)
Create custom function.- Parameters:
name- The name of the sqlite3 function.numArgs- The number of arguments for the function, or -1 tosupport any number of arguments.callback- The callback to invoke when the function is executed.
-
SQLiteFunction
SQLiteFunction(String name, int numArgs, SQLiteDatabase.Function callback, int flags)
Create custom function.- Parameters:
name- The name of the sqlite3 function.numArgs- The number of arguments for the function, or -1 tosupport any number of arguments.callback- The callback to invoke when the function is executed.flags- Extra SQLITE flags to pass when creating the functionin native code.
-
-