@@ -39,29 +39,29 @@ Set the following parameters.
39
39
40
40
## Sample Code
41
41
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 )
44
44
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 )
47
47
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 )
50
50
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 )
53
53
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 )
56
56
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 )
59
59
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 )
62
62
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 )
65
65
66
66
## Technical Support
67
67
You 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