ICameraImageSink.cs 436 B

1234567891011121314
  1. using System.Windows.Media;
  2. namespace TeamAAS.Camera.UI
  3. {
  4. /// <summary>
  5. /// 可选能力:愿意接收实时取相画面的调试页实现此接口。
  6. /// 宿主在收到取相回调时,会把 BitmapSource 推送给当前显示且实现了该接口的页面。
  7. /// 参数传 null 表示清除画面。
  8. /// </summary>
  9. public interface ICameraImageSink
  10. {
  11. void ShowImage(ImageSource image);
  12. }
  13. }