joinedAtForSession static method
joinedAt in epoch seconds for sessionID, taken from the call cached by
initiateCall / acceptCall.
Android Reference: CallManager.getInstance().getInitialCall().getJoinedAt(),
which yields 0 when no initial call is cached. 0 is a meaningful value
— the caller has not joined the session yet — and is still sent.
Implementation
static int joinedAtForSession(String sessionID) {
final cachedCall = _initialCall;
if (cachedCall == null || cachedCall.sessionId != sessionID) return 0;
final joinedAt = cachedCall.joinedAt;
if (joinedAt == null) return 0;
return joinedAt.millisecondsSinceEpoch ~/ 1000;
}