/// <summary> /// Update the Bitmap from the supplied <c>ReplayInfraredFrame</c>. /// </summary> public async void Update(ReplayInfraredFrame frame) { if (frame != null) { await frame.GetFrameDataAsync().ContinueWith(async (frameData) => { await UpdateAsync(frameData.Result); }); } }