updatePresence constant

Spec<UpdatePresenceRequest, UpdatePresenceResponse> const updatePresence

UpdatePresence updates the presence status of a device. Used to track online/offline status and availability for real-time features.

Implementation

static const updatePresence = connect.Spec(
  '/$name/UpdatePresence',
  connect.StreamType.unary,
  devicev1device.UpdatePresenceRequest.new,
  devicev1device.UpdatePresenceResponse.new,
);