Interface NativeNotificationStatus


@JsType(isNative=true, name="ng.NativeNotificationStatus", namespace="<global>") public interface NativeNotificationStatus
Current availability and permission state for native notifications.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.
    boolean
    Public NativeNotificationStatus.available member exposed by the AngularTS namespace contract.
    boolean
    Public NativeNotificationStatus.granted member exposed by the AngularTS namespace contract.
    void
    setAvailable(boolean available)
    Public NativeNotificationStatus.available member exposed by the AngularTS namespace contract.
    void
    setGranted(boolean granted)
    Public NativeNotificationStatus.granted member exposed by the AngularTS namespace contract.
    void
    setPermission(String permission)
    Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.
  • Method Details

    • create

      @JsOverlay static NativeNotificationStatus create()
    • getPermission

      @JsProperty String getPermission()
      Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.
    • isAvailable

      @JsProperty boolean isAvailable()
      Public NativeNotificationStatus.available member exposed by the AngularTS namespace contract.
    • isGranted

      @JsProperty boolean isGranted()
      Public NativeNotificationStatus.granted member exposed by the AngularTS namespace contract.
    • setAvailable

      @JsProperty void setAvailable(boolean available)
      Public NativeNotificationStatus.available member exposed by the AngularTS namespace contract.
    • setGranted

      @JsProperty void setGranted(boolean granted)
      Public NativeNotificationStatus.granted member exposed by the AngularTS namespace contract.
    • setPermission

      @JsProperty void setPermission(String permission)
      Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.