buildCallingText static method

String buildCallingText(
  1. V2TimMessage v2timMessage
)

Implementation

static String buildCallingText(V2TimMessage v2timMessage) {
  String display = "";
  if (v2timMessage == null || v2timMessage.customElem == null) {
    return display;
  }

  final callingMessage = CallingMessage.getCallMessage(v2timMessage);
  if (callingMessage == null || !callingMessage.isCallingSignal) {
    return display;
  }

  display = callingMessage.getContent();

  return display;
}