registerMobileDevice method

ResponseFuture<IdentifierResponse> registerMobileDevice(
  1. UsersServiceRegisterMobileDeviceRequest request, {
  2. CallOptions? options,
})

Registers a user's mobile device to enable push notifications.

Side Effects:

  • Binds the device token to the authenticated user's session profile.
  • Invalidates previous device tokens if maximum device limits per user are exceeded.

Returns the unique identifier response of the newly registered user device record.

Implementation

$grpc.ResponseFuture<$1.IdentifierResponse> registerMobileDevice(
  $0.UsersServiceRegisterMobileDeviceRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$registerMobileDevice, request, options: options);
}