Debian Codegraph @

templates/other/AndroidAutoMessagingService/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="2"
5 name="Messaging service"
6 description="Create a service that sends notifications compatible with Android Auto"
7 minApi="21">
8
9 <category value="Android Auto" />
10 <formfactor value="Car" />
11
12 <parameter
13 id="serviceName"
14 name="Service class name"
15 type="string"
16 constraints="class|unique|nonempty"
17 default="MyMessagingService"
18 help="The name of the service that will handle incoming messages and send corresponding notifications." />
19
20 <parameter
21 id="readReceiverName"
22 name="Read receiver class name"
23 type="string"
24 constraints="class|unique|nonempty"
25 default="MessageReadReceiver"
26 help="The broadcast receiver that will handle Read notifications." />
27
28 <parameter
29 id="replyReceiverName"
30 name="Reply receiver class name"
31 type="string"
32 constraints="class|unique|nonempty"
33 default="MessageReplyReceiver"
34 help="The broadcast receiver that will handle Reply notifications." />
35
36 <parameter
37 id="packageName"
38 name="Package name"
39 type="string"
40 constraints="package"
41 help="The package where the messaging service will be created." />
42
43 <globals file="globals.xml.ftl" />
44 <execute file="recipe.xml.ftl" />
45
46 <thumbs>
47 <thumb>templates-messagingService-Auto.png</thumb>
48 </thumbs>
49
50 </template>