/// <summary> /// A message from the device is received. /// </summary> public void OnReceiveMessage(CastMessage castMessage) { if (deviceCommunication == null) { return; } deviceCommunication.OnReceiveMessage(castMessage); }
public void OnReceiveMessage(CastMessage castMessage) { deviceCommunication?.OnReceiveMessage(castMessage); }