1 package android.database.sqlite; 2 3 /** 4 * A listener for transaction events. 5 */ 6 public interface SQLiteTransactionListener { 7 /** 8 * Called immediately after the transaction begins. 9 */ onBegin()10 void onBegin(); 11 12 /** 13 * Called immediately before commiting the transaction. 14 */ onCommit()15 void onCommit(); 16 17 /** 18 * Called if the transaction is about to be rolled back. 19 */ onRollback()20 void onRollback(); 21 } 22