mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 07:22: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)
|
[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