Package org.angular.ts.ng
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 TypeMethodDescriptionstatic NativeNotificationStatuscreate()Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.booleanPublic NativeNotificationStatus.available member exposed by the AngularTS namespace contract.booleanPublic NativeNotificationStatus.granted member exposed by the AngularTS namespace contract.voidsetAvailable(boolean available) Public NativeNotificationStatus.available member exposed by the AngularTS namespace contract.voidsetGranted(boolean granted) Public NativeNotificationStatus.granted member exposed by the AngularTS namespace contract.voidsetPermission(String permission) Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.
-
Method Details
-
create
-
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
Public NativeNotificationStatus.permission member exposed by the AngularTS namespace contract.
-