@@ -39,29 +39,29 @@ Set the following parameters.
3939
4040## Sample Code
4141
42- 1 . Send a data message to an Android app .
43- File path: ** examples/sendDataMessage.java**
42+ #### 1. Send an Android data message .
43+ Code location: [ examples/sendDataMessage.java] ( src/main/java/com/huawei/push/examples/SendDataMessage.java )
4444
45- . Send a notification message to an Android app .
46- File path: ** examples/sendNotifyMessage.java**
45+ #### 2. Send an Android notification message .
46+ Code location: [ examples/sendNotifyMessage.java] ( src/main/java/com/huawei/push/examples/SendNotifyMessage.java )
4747
48- . Send a message by topic.
49- File path: ** examples/sendTopicMessage.java**
48+ #### 3. Send a message by topic.
49+ Code location: [ examples/sendTopicMessage.java] ( src/main/java/com/huawei/push/examples/SendTopicMessage.java )
5050
51- . Send a message by condition .
52- File path: ** examples/sendConditionMessage.java**
51+ #### 4. Send a message by conditions .
52+ Code location: [ examples/sendConditionMessage.java] ( src/main/java/com/huawei/push/examples/SendConditionMessage.java )
5353
54- . Send a message to a Huawei quick app.
55- File path: ** examples/sendInstanceAppMessage.java**
54+ #### 5. Send a message to a Huawei quick app.
55+ Code location: [ examples/sendInstanceAppMessage.java] ( src/main/java/com/huawei/push/examples/SendInstanceAppMessage.java )
5656
57- . Send a message by WebPush.
58- File path: ** examples/sendWebpushMessage.java**
57+ #### 6. Send a message through the WebPush agent .
58+ Code location: [ examples/sendWebpushMessage.java] ( src/main/java/com/huawei/push/examples/SendWebpushMessage.java )
5959
60- . Send a message by APNs.
61- File path: ** examples/sendApnsMessage.java**
60+ #### 7. Send a message through the APNs agent .
61+ Code location: [ examples/sendApnsMessage.java] ( src/main/java/com/huawei/push/examples/SendApnsMessage.java )
6262
63- . Send a test message.
64- File path: ** examples/sendTestMessage.java**
63+ #### 8. Send a test message.
64+ Code location: [ examples/sendTestMessage.java] ( src/main/java/com/huawei/push/examples/SendTestMessage.java )
6565
6666## Technical Support
6767You can visit the [ Reddit community] ( https://www.reddit.com/r/HuaweiDevelopers/ ) to obtain the latest information about HMS Core and communicate with other developers.
0 commit comments