mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 09:58:08 +00:00
More comment format fixes
This commit is contained in:
parent
fc18d8a10f
commit
3b4f5f83b2
@ -420,13 +420,12 @@ class SMSPlugin : Plugin() {
|
||||
* For example:
|
||||
* ```
|
||||
* {
|
||||
* "version": 2 // This is the second version of this packet type and
|
||||
* // version 1 packets (which did not carry this flag)
|
||||
* // are incompatible with the new format
|
||||
* "version": 2 // This is the second version of this packet type and version 1 packets
|
||||
* // (which did not carry this flag) are incompatible with the new format
|
||||
* "messages" : [
|
||||
* {
|
||||
* "event" : 1, // 32-bit field containing a bitwise-or of event flags
|
||||
* // See constants declared in SMSHelper.Message for defined
|
||||
* // See constants declared in SMSHelper.Message for define
|
||||
* // values and explanations
|
||||
* "body" : "Hello", // Text message body
|
||||
* "addresses": <List<Address>> // List of Address objects, one for each participant of the conversation
|
||||
@ -438,14 +437,14 @@ class SMSPlugin : Plugin() {
|
||||
* // If this is an outgoing multi-target message, the sender is implicit
|
||||
* // (the user's phone number) and all Addresses are recipients
|
||||
* "date" : "1518846484880", // Timestamp of the message
|
||||
* "type" : "2", // Compare with Android's
|
||||
* // Telephony.TextBasedSmsColumns.MESSAGE_TYPE_*
|
||||
* "type" : "2", // Compare with Android's Telephony.TextBasedSmsColumns.MESSAGE_TYPE_*
|
||||
* "thread_id" : 132 // Thread to which the message belongs
|
||||
* "read" : true // Boolean representing whether a message is read or unread
|
||||
* },
|
||||
* { ... },
|
||||
* ...
|
||||
* ]
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* The following optional fields of a message object may be defined
|
||||
* "sub_id": <int> // Android's subscriber ID, which is basically used to determine which SIM card the message
|
||||
|
Loading…
x
Reference in New Issue
Block a user