Created
March 6, 2014 07:56
-
-
Save victorkifer/9384471 to your computer and use it in GitHub Desktop.
IExtendedNetworkService.aidl should be in com.android.internal.telephony package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.android.internal.telephony; | |
/** | |
* Interface used to interact with extended MMI/USSD network service. | |
*/ | |
interface IExtendedNetworkService { | |
/** | |
* Set a MMI/USSD command to ExtendedNetworkService for further process. | |
* This should be called when a MMI command is placed from panel. | |
* @param number the dialed MMI/USSD number. | |
*/ | |
void setMmiString(String number); | |
/** | |
* return the specific string which is used to prompt MMI/USSD is running | |
*/ | |
CharSequence getMmiRunningText(); | |
/** | |
* Get specific message which should be displayed on pop-up dialog. | |
* @param text original MMI/USSD message response from framework | |
* @return specific user message correspond to text. null stands for no pop-up dialog need to show. | |
*/ | |
CharSequence getUserMessage(CharSequence text); | |
/** | |
* Clear timeout message and pre-set MMI/USSD command | |
* This should be called when user cancel a pre-dialed MMI command. | |
*/ | |
void clearMmiString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment