Skip to content

Instantly share code, notes, and snippets.

@waliahimanshu
Last active August 26, 2019 19:49
Show Gist options
  • Save waliahimanshu/c0d29361d1dad211fb17f72df1d48bad to your computer and use it in GitHub Desktop.
Save waliahimanshu/c0d29361d1dad211fb17f72df1d48bad to your computer and use it in GitHub Desktop.
interface AlarmWrapper {
fun setAlarm(alarmType: AlarmType, requestCode: String, id: String)
fun cancelAlarm(alarmType: AlarmType, requestCode: String, id: String)
}
enum class AlarmType {
TYPE1,
TYPE2,
UNKNOWN
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment