Search in sources :

Example 1 with DismissAlertMessage

use of sugar.free.sightparser.applayer.messages.remote_control.DismissAlertMessage in project SightRemote by TebbeUbben.

the class AlertService method dismissAlert.

public void dismissAlert() {
    DismissAlertMessage dismissAlertMessage = new DismissAlertMessage();
    dismissAlertMessage.setAlertID(latestId);
    new SingleMessageTaskRunner(serviceConnector, dismissAlertMessage).fetch(errorToastCallback);
    Answers.getInstance().logCustom(new CustomEvent("Dismiss Alert"));
}
Also used : CustomEvent(com.crashlytics.android.answers.CustomEvent) DismissAlertMessage(sugar.free.sightparser.applayer.messages.remote_control.DismissAlertMessage) SingleMessageTaskRunner(sugar.free.sightparser.handling.SingleMessageTaskRunner)

Aggregations

CustomEvent (com.crashlytics.android.answers.CustomEvent)1 DismissAlertMessage (sugar.free.sightparser.applayer.messages.remote_control.DismissAlertMessage)1 SingleMessageTaskRunner (sugar.free.sightparser.handling.SingleMessageTaskRunner)1