Skip to content

Commit 227d131

Browse files
Database hook for preKey/postKey operations
1 parent b7e326a commit 227d131

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package net.zetetic.database.sqlcipher;
2+
3+
public interface SQLiteDatabaseHook {
4+
/**
5+
* Called immediately before keying the database.
6+
*/
7+
void preKey(SQLiteConnection connection);
8+
/**
9+
* Called immediately after keying the database.
10+
*/
11+
void postKey(SQLiteConnection connection);
12+
}

0 commit comments

Comments
 (0)