Uses of Interface
io.github.pimak.ntfy.core.NtfyAction
Packages that use NtfyAction
-
Uses of NtfyAction in io.github.pimak.ntfy.core
Classes in io.github.pimak.ntfy.core that implement NtfyActionModifier and TypeClassDescriptionstatic final recordSends an Android broadcast intent when tapped (only actioned by ntfy's Android app).static final recordSends an HTTP request tourlwhen tapped.static final recordOpensurlin the browser/app when the action button is tapped.Method parameters in io.github.pimak.ntfy.core with type arguments of type NtfyActionModifier and TypeMethodDescriptionNtfyConfig.Builder.actions(List<NtfyAction> actions) Sets action buttons from typedNtfyActions, serialized to the ntfyActionsheader viaNtfyActionSerializer. ntfy caps a notification at three actions; extra entries andnullelements are dropped.NtfyClient.notify(String title, String message, List<NtfyAction> actions) Publishestitle/messageto the configured topic with the given action buttons, serialized to ntfy'sActionsheader (ntfy caps a notification at three actions; extras andnullelements are dropped).