public void OnUpdateFrameFormat(FrameFormat frameFormat) { RunOnUiThread(() => OnFrameFormatUpdate?.Invoke(frameFormat)); }