getName()

todo - need description of how this endpoint works exactly since it has no parameters.

📘

Notes

  • This API cannot be invoked in a Task.
  • This API can only be used for device-originated Events.
Octave.Device.getName()

Parameters
None.

Returns
Returns the name of the Device associated with the Event that triggered the Cloud Action. Returns null if called outside of the Cloud Action JavaScript context.