registerNotificationsPermissionIfNotRegistered
Gets the BaseNotificationsPermissionManagerBuilder registered If not yet registered, this will register a BaseNotificationsPermissionManagerBuilder and PermissionStateRepo for NotificationsPermission to the PermissionsBuilder.register and PermissionsBuilder.registerPermissionStateRepoBuilder respectively
Return
the BaseNotificationsPermissionManagerBuilder registered
Parameters
method for creating a BaseNotificationsPermissionManagerBuilder from a PermissionContext
the Duration after which the system should poll for changes to the permission if automatic detection is impossible.
the BasePermissionManager.Settings to apply to any BasePermissionManager created using the registered builders.
Gets the BaseNotificationsPermissionManagerBuilder registered If not yet registered, this will register a BaseNotificationsPermissionManagerBuilder and PermissionStateRepo for NotificationsPermission to the PermissionsBuilder.register and PermissionsBuilder.registerPermissionStateRepoBuilder respectively
Return
the BaseNotificationsPermissionManagerBuilder registered
Parameters
method for creating a BaseNotificationsPermissionManagerBuilder from a PermissionContext
method for creating a PermissionStateRepo for NotificationsPermission given a BaseNotificationsPermissionManagerBuilder and CoroutineContext