Package 

Object IncomingCallPayload.Companion

    • Method Summary

      Modifier and Type Method Description
      final IncomingCallPayload fromMap(Map<String, Object> source) Parses a payload from a loosely typed map such as RemoteMessage.data or decoded notification extras.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fromMap

         final IncomingCallPayload fromMap(Map<String, Object> source)

        Parses a payload from a loosely typed map such as RemoteMessage.data or decoded notification extras.

        Tolerates both the current flat shape and the legacy shape where the whole payload is nested under a type key. The sender value may be a JSON string or a map; a malformed sender yields an empty Caller rather than an exception.