move

open fun move(@NonNull call: CallEvent, @NonNull conference: String): Boolean

Move a call to a conference.

A call cannot move to a default conference of another call as that one is generated in the call's stream. Use generate to create a new conference identifier.

If the target conference does not exist, it is created.

If the moved call was the last call in its original conference, that conference is destroyed.

Return

true if the specified call was successfully moved to the specified conference or falseif that failed and the call was moved to a newly generated conference.

Parameters

call

The call to move.

conference

ID of the conference to move the call to.


open fun move(@NonNull call: CallEvent, @NonNull target: CallEvent): Boolean

Move a call to a conference

A call cannot move to a default conference of another call as that one is generated in the call's stream. Use generate to create a new conference identifier.

If the moved call was the last call in its original conference, that conference is destroyed.

Return

true if the specified call was successfully moved to the specified conference or falseif that failed and the call was moved to a newly generated conference.

Parameters

call

The call to move.

target

A call that is part of the conference to move to.