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.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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!