iOS/Sources/App/Notifications/NotificationManagerLocalPus...

16 lines
410 B
Swift

import HAKit
import Shared
class NotificationManagerLocalPushInterfaceDisallowed: NotificationManagerLocalPushInterface {
func status(for server: Server) -> NotificationManagerLocalPushStatus {
.unsupported
}
func addObserver(
for server: Server,
handler: @escaping (NotificationManagerLocalPushStatus) -> Void
) -> HACancellable {
HANoopCancellable()
}
}