-
public class IncomingCallPayload.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static IncomingCallPayload.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final IncomingCallPayloadfromMap(Map<String, Object> source)Parses a payload from a loosely typed map such as RemoteMessage.dataor decoded notification extras.-
-
Method Detail
-
fromMap
final IncomingCallPayload fromMap(Map<String, Object> source)
Parses a payload from a loosely typed map such as
RemoteMessage.dataor decoded notification extras.Tolerates both the current flat shape and the legacy shape where the whole payload is nested under a
typekey. Thesendervalue may be a JSON string or a map; a malformedsenderyields an empty Caller rather than an exception.
-
-
-
-