GroupRx

class GroupRx

Reactive API of Group.

This class replicates some of the methods included in Group but using Rx types as return values instead of callbacks.

Functions

Link copied to clipboard
fun add(participant: Contact): Completable

Adds a new participant to this group. Note: The user needs to be the group's owner.

Link copied to clipboard
fun changeRingingStrategy(strategy: RingingStrategy): Completable

Update ringing strategy for this group.

Link copied to clipboard
fun hasParticipant(participant: Contact): Single<Boolean>

Checks if a participant belongs to this group.

Link copied to clipboard
fun leave(): Completable

Leaves this group.

Link copied to clipboard
fun remove(participant: Contact): Completable

Removes a participant from this group. Note: The user needs to be the group's owner.

Link copied to clipboard
fun removeAllParticipants(): Completable

Removes all participants from this group. Note: The user needs to be the group's owner.

Link copied to clipboard
fun reorderParticipants(participants: List<Contact>): Completable

Reorder the participant list for this group.

Link copied to clipboard
fun update(name: String): Completable

Updates the group name. Note: The user needs to be the group's owner.