mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Merge pull request #219 from fuentesj11/update-doc1
Update/Edit blockingcommand.md
This commit is contained in:
commit
58141940e9
1 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ Blocking Command
|
|||
|
||||
[Back](index.md)
|
||||
|
||||
Allows to manage communications blocking.
|
||||
Allows one to manage communications blocking.
|
||||
|
||||
* Check push notifications support
|
||||
* Get blocking list
|
||||
|
@ -44,18 +44,18 @@ Block contact
|
|||
-------------
|
||||
|
||||
```
|
||||
blockingCommandManager.blockContact(jid);
|
||||
blockingCommandManager.blockContacts(jids);
|
||||
```
|
||||
*jid* is a `Jid`
|
||||
*jids* is a `java.util.List<Jid>`
|
||||
|
||||
|
||||
Unblock contact
|
||||
---------------
|
||||
|
||||
```
|
||||
blockingCommandManager.unblockContact(jid);
|
||||
blockingCommandManager.unblockContacts(jids);
|
||||
```
|
||||
*jid* is a `Jid`
|
||||
*jids* is a `java.util.List<Jid>`
|
||||
|
||||
|
||||
Unblock all
|
||||
|
|
Loading…
Reference in a new issue