Package com.google.zxing.client.android
Class InactivityTimer
- java.lang.Object
-
- com.google.zxing.client.android.InactivityTimer
-
public final class InactivityTimer extends Object
Finishes an context after a period of inactivity if the device is on battery power.
-
-
Constructor Summary
Constructors Constructor Description InactivityTimer(Context context, Runnable callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivity()Trigger activity, resetting the timer.voidcancel()Cancel the activity timer.voidstart()Start the activity timer.
-