CloudEventsServiceInvokeOnDeviceCommand Method
Invokes the Event Grid Topic to send a command to the device that the DeviceReceiver can pick up on.
Namespace: MobileTrack.Web.Components.ServicesAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<Guid> InvokeOnDeviceCommand(
DeviceDto device,
DeviceCommandType command,
Object[]? parameters
)
- device DeviceDto
- Device to send the command to
- command DeviceCommandType
- Command to be invoked
- parameters Object
- Parameters to be invoked with the command (if need be)
TaskGuidGuid ID of the task that is running on the EventHandler
There is no cancellation token because the deletion task should not be interrupted if the player leaves the page!