mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Update/Edit documentation
This commit is contained in:
parent
a9ca1a0989
commit
31706c503b
1 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ Blocking Command
|
||||||
|
|
||||||
[Back](index.md)
|
[Back](index.md)
|
||||||
|
|
||||||
Allows to manage communications blocking.
|
Allows one to manage communications blocking.
|
||||||
|
|
||||||
* Check push notifications support
|
* Check push notifications support
|
||||||
* Get blocking list
|
* 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
|
Unblock contact
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
```
|
```
|
||||||
blockingCommandManager.unblockContact(jid);
|
blockingCommandManager.unblockContacts(jids);
|
||||||
```
|
```
|
||||||
*jid* is a `Jid`
|
*jids* is a `java.util.List<Jid>`
|
||||||
|
|
||||||
|
|
||||||
Unblock all
|
Unblock all
|
||||||
|
|
Loading…
Reference in a new issue