Package android.database.sqlite
Class SQLiteCustomFunction
- java.lang.Object
-
- android.database.sqlite.SQLiteCustomFunction
-
public final class SQLiteCustomFunction extends Object
Describes a custom SQL function.
-
-
Field Summary
Fields Modifier and Type Field Description SQLiteDatabase.CustomFunctioncallbackStringnameintnumArgs
-
Constructor Summary
Constructors Constructor Description SQLiteCustomFunction(String name, int numArgs, SQLiteDatabase.CustomFunction callback)Create custom function.
-
-
-
Field Detail
-
name
public final String name
-
numArgs
public final int numArgs
-
callback
public final SQLiteDatabase.CustomFunction callback
-
-
Constructor Detail
-
SQLiteCustomFunction
public SQLiteCustomFunction(String name, int numArgs, SQLiteDatabase.CustomFunction callback)
Create custom function.- Parameters:
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.
-
-