|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Callback for a message tap.
|
|
|
|
public class ClickListener : AGConnectAppMessagingOnClickListener |
|
|
|
{ |
|
|
|
public override void onMessageClick(AppMessage arg0) |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// Callback for message closing.
|
|
|
|
public class DismissListener : AGConnectAppMessagingOnDismissListener |
|
|
|
{ |
|
|
|
public override void onMessageDismiss(AppMessage arg0, AGConnectAppMessagingCallback.DismissType arg1) |
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Callback for message display.
|
|
|
|
public class DisplayListener : AGConnectAppMessagingOnDisplayListener |
|
|
|
{ |
|
|
|
public override void onMessageDisplay(AppMessage arg0) |
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Callback for message loading exceptions.
|
|
|
|
public class OnErrorListener : AGConnectAppMessagingOnErrorListener |
|
|
|
{ |
|
|
|
public override void onMessageError(AppMessage arg0) |
|
|
|