Method and apparatus for clearing notification icon, and storage medium
First Claim
1. A method of clearing a notification icon, comprising:
- displaying the notification icon in a user interface on a screen of a terminal device, wherein the displayed notification icon overlaps at least partially an application icon of an application in the user interface;
acquiring, by a processor of the terminal device, an identifier of the application corresponding to the displayed notification icon;
adding, by the processor, the application identifier to a list of applications corresponding to to-be-cleared notification icons in response to the application identifier meeting a preset rule, the list of applications comprising application identifiers of the applications corresponding to the to-be-cleared notification icons;
invoking, by the processor, an application programming interface (API) according to the application identifier of the application corresponding to the to-be-cleared notification icon, in response to receiving a clearing command; and
removing, by the processor, the displayed notification icon from the user interface on the screen via the application programming interface, according to the application identifier which is comprised in the list.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a method and an apparatus for clearing a notification icon, and a storage medium. The method includes: acquiring a list of applications corresponding to to-be-cleared notification icons, the application list including application identifiers of the applications corresponding to the to-be-cleared notification icons; and stop displaying a notification icon corresponding to the application identifier, when a clearing command is received and according to each application identifier included in the application list. By determining application identifiers of applications corresponding to to-be-cleared notification icons, displaying of notification icons corresponding to the application identifiers can be stopped at once according to the application identifiers of the applications of the to-be-cleared notification icons when a clearing command is received. Hence, notification message prompts which a user does not care about are cleared quickly, and unwanted distraction is avoided when messages are reduced, and the operation is simple and convenient.
10 Citations
13 Claims
-
1. A method of clearing a notification icon, comprising:
-
displaying the notification icon in a user interface on a screen of a terminal device, wherein the displayed notification icon overlaps at least partially an application icon of an application in the user interface; acquiring, by a processor of the terminal device, an identifier of the application corresponding to the displayed notification icon; adding, by the processor, the application identifier to a list of applications corresponding to to-be-cleared notification icons in response to the application identifier meeting a preset rule, the list of applications comprising application identifiers of the applications corresponding to the to-be-cleared notification icons; invoking, by the processor, an application programming interface (API) according to the application identifier of the application corresponding to the to-be-cleared notification icon, in response to receiving a clearing command; and removing, by the processor, the displayed notification icon from the user interface on the screen via the application programming interface, according to the application identifier which is comprised in the list. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus of clearing a notification icon, comprising:
-
a screen; at least one processor; and a memory having processor-executable instructions stored therein, and the instructions when executed by the at least one processor, configure the apparatus to; display the notification icon in a user interface on the screen, wherein the displayed notification icon overlaps at least partially an application icon of an application in the user interface; acquire an identifier of the application corresponding to the displayed notification icon; add the application identifier to a list of applications corresponding to to-be-cleared notification icons in response to the application identifier meeting a preset rule, the list of application comprising application identifiers of the applications corresponding to the to-be-cleared notification icons; invoke an application programming interface (API) according to the application identifier of the application corresponding to the to-be-cleared notification icon, in response to receiving a clearing command; and remove the displayed notification icon from the user interface on the screen via the application programming interface, according to the application identifier which is comprised in the list. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer readable storage medium comprising computer executable instructions, the computer executable instructions being used for executing a method of clearing a notification icon when executed by a computer processor, and the method comprising:
-
displaying the notification icon in a user interface on a screen of a terminal device, wherein the displayed notification icon overlaps at least partially an application icon of an application in the user interface; acquiring, by the processor, an identifier of the application corresponding to the displayed notification icon; adding by the processor, the application identifier to a list of applications corresponding to to-be-cleared notification icons in response to the application identifier meeting a preset rule, the list of applications comprising application identifiers of the applications corresponding to the to-be-cleared notification icons; invoking, by the processor, an application programming interface (API) according to the application identifier of the application corresponding to the to-be-cleared notification icon, in response to receiving a clearing command; and removing, by the processor, the displayed notification icon from the user interface on the screen via the application programming interface, when a clearing command is received and according to the application identifier which is included in the list.
-
Specification