Search in sources :

Example 1 with MuteAlertMessage

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

the class AlertService method muteAlert.

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

Aggregations

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