/**
* Set the mode of the device.
*
* @param clock set the clock
* @param devTime device alarm time including hour,minute,second.
* @return true if the operation is successful or false if erroneous.
*/
boolean reqRemoveAlarm(int clock, SimpleDateFormat devTime);
Here i want to write one function which has one parameter devTime.actually i want to show hour,minute and second that's why i use SimpleDateFormat devTime.But it shows me error in my AIDL file
error:parameter devTime unknown type SimpleDateFormat.
I have tried to import import java.text.SimpleDateFormat;
but it shows error couldnot find import for class.java.text.SimpleDateFormat
.
So i really cannot understand how can i write this on my AIDL file.
Experts need your help and suggestion.