public interface

IPushHandler

com.c2call.sdk.pub.core.IPushHandler
Known Indirect Subclasses

Class Overview

An implementation if this interface has to be set in the singleton of C2CallSdk, and will handle all incoming push notifications.

Summary

Public Methods
abstract void onCallmeMessage(Context context, SCPushMessage message)
This method is invoked when another user sent a CallMe message to us
abstract void onIncomingCall(Context context, SCPushMessage message, String caller)
This method is invoked when an incoming call event was caught
abstract void onSystemMessage(Context context, SCPushMessage message)
This method is invoked when the "system" sent an info notification to us
abstract void onTextMessage(Context context, SCPushMessage message)
This method is invoked when a text/chat message of another user arrives

Public Methods

public abstract void onCallmeMessage (Context context, SCPushMessage message)

This method is invoked when another user sent a CallMe message to us

public abstract void onIncomingCall (Context context, SCPushMessage message, String caller)

This method is invoked when an incoming call event was caught

public abstract void onSystemMessage (Context context, SCPushMessage message)

This method is invoked when the "system" sent an info notification to us

public abstract void onTextMessage (Context context, SCPushMessage message)

This method is invoked when a text/chat message of another user arrives