public void SetPhotoResult(byte[] image, int width = -1, int height = -1) { OnPhotoResult?.Invoke(new PhotoResultEventArgs(image, width, height)); }
public void Cancel() { OnPhotoResult?.Invoke(new PhotoResultEventArgs()); }
public void SetPhotoResult(byte[] image, int width = -1, int height = -1) { WinePicture.Source = ImageSource.FromStream(() => new MemoryStream(image)); OnPhotoResult?.Invoke(new PhotoResultEventArgs(image, width, height)); }