Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5508591b authored by Hall Liu's avatar Hall Liu
Browse files

Update docs for getGenericConferenceActiveChildCall

Update the documentation for getGenericConferenceActiveChildCall to make
it more clear what a generic conference is and which call the method
will actually return.

Fixes: 148515394
Test: none, docs only change
Change-Id: Idfee3fc23c7f6035f7b980fbb4dfe68c2834c388
parent 3201a3aa
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2075,6 +2075,17 @@ public final class Call {

    /**
     * Returns the child {@link Call} in a generic conference that is currently active.
     *
     * A "generic conference" is the mechanism used to support two simultaneous calls on a device
     * in CDMA networks. It is effectively equivalent to having one call active and one call on hold
     * in GSM or IMS calls. This method returns the currently active call.
     *
     * In a generic conference, the network exposes the conference to us as a single call, and we
     * switch between talking to the two participants using a CDMA flash command. Since the network
     * exposes no additional information about the call, the only way we know which caller we're
     * currently talking to is by keeping track of the flash commands that we've sent to the
     * network.
     *
     * For calls that are not generic conferences, or when the generic conference has more than
     * 2 children, returns {@code null}.
     * @see Details#PROPERTY_GENERIC_CONFERENCE