Table of Contents

Interface IRustPlusFcm

Namespace
RustPlusApi.Fcm.Interfaces
Assembly
RustPlusApi.Fcm.dll

Extends IRustPlusFcmSocket with typed Rust+ pairing and alarm events.

public interface IRustPlusFcm : IRustPlusFcmSocket, IDisposable, IAsyncDisposable
Inherited Members

Events

OnAlarmTriggered

Raised when a smart alarm is triggered. Payload is an AlarmNotification.

event EventHandler<AlarmNotification?>? OnAlarmTriggered

Event Type

EventHandler<AlarmNotification>

OnEntityPairing

Raised when an entity pairing notification is received.

event EventHandler<Notification<EntityEvent?>>? OnEntityPairing

Event Type

EventHandler<Notification<EntityEvent>>

OnPairing

Raised when any pairing FCM message is received.

event EventHandler<FcmMessage>? OnPairing

Event Type

EventHandler<FcmMessage>

OnServerPairing

Raised when a server pairing notification is received.

event EventHandler<Notification<ServerEvent?>>? OnServerPairing

Event Type

EventHandler<Notification<ServerEvent>>

OnSmartAlarmPairing

Raised when a smart alarm pairing notification is received.

event EventHandler<Notification<ulong?>>? OnSmartAlarmPairing

Event Type

EventHandler<Notification<ulong?>>

OnSmartSwitchPairing

Raised when a smart switch pairing notification is received.

event EventHandler<Notification<ulong?>>? OnSmartSwitchPairing

Event Type

EventHandler<Notification<ulong?>>

OnStorageMonitorPairing

Raised when a storage monitor pairing notification is received.

event EventHandler<Notification<ulong?>>? OnStorageMonitorPairing

Event Type

EventHandler<Notification<ulong?>>