Class UNNotificationContentExtensionResponseOption


  • public final class UNNotificationContentExtensionResponseOption
    extends java.lang.Object
    Constants indicating the preferred response to a notification. API-Since: 10.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Dismiss
      Dismiss the notification interface.
      static long DismissAndForwardAction
      Dismiss the notification interface and forward the notification to the app.
      static long DoNotDismiss
      Don't dismiss the notification interface.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DoNotDismiss

        public static final long DoNotDismiss
        Don't dismiss the notification interface. The content extension handles the selected action. API-Since: 10.0
        See Also:
        Constant Field Values
      • Dismiss

        public static final long Dismiss
        Dismiss the notification interface. The content extension handles the selected action. API-Since: 10.0
        See Also:
        Constant Field Values
      • DismissAndForwardAction

        public static final long DismissAndForwardAction
        Dismiss the notification interface and forward the notification to the app. Choose this option when you want the app to respond to the action or handle it. API-Since: 10.0
        See Also:
        Constant Field Values