Skip to content

Byd\ApiClient\Service\NotificationService

No PHPDoc description provided.

Type: class
Source: src/Service/NotificationService.php

Public methods

__construct

No PHPDoc description provided.

public function __construct(\Byd\ApiClient\Value\Vin $vin, \Byd\ApiClient\ProtocolClient $protocol, \Byd\ApiClient\Serialization\DtoSerializer $serializer): mixed

state

Fetch push-notification switch states.

public function state(): \Byd\ApiClient\Dto\Response\PushNotificationState

setEnabled

Enable or disable vehicle-status push notifications.

public function setEnabled(bool $enabled): \Byd\ApiClient\Dto\Response\CommandResult