private void DoAddPicture() { // do action // TODO - put this back to TakePicture _pictureChooserTask.ChoosePictureFromLibrary(400, 95, OnPicture, () => { /* nothing to */ }); //_pictureChooserTask.TakePicture(400, 95, OnPicture, () => { /* nothing to */ }); }
public static Task <Stream> ChoosePictureFromLibraryAsync(this IMvxPictureChooserTask chooser, int maxPixelDimension, int percentQuality) { var task = new TaskCompletionSource <Stream>(); chooser.ChoosePictureFromLibrary(maxPixelDimension, percentQuality, (stream, name) => task.SetResult(stream), () => task.SetResult(null)); return(task.Task); }
private void DoChooseComprovante() { _pictureChooserTask.ChoosePictureFromLibrary(400, 95, OnPictureComprovante, () => { }); }
public void AddPicture() { _pictureChooserTask.ChoosePictureFromLibrary(_maxPixel, _qualityPercent, OnPicture, () => { }); }
private void DoChooseRg() { _pictureChooserTask.ChoosePictureFromLibrary(400, 95, OnPictureRg, () => { }); }
private void ChoosePicture() { _pictureChooserTask.ChoosePictureFromLibrary(400, 95, OnPicture, () => { Mvx.Trace("Picture cancelled by user!"); }); }
private void SelectPhoto() { _photoTask.ChoosePictureFromLibrary(300, 80, PhotoAction, () => { }); }
public void ChoosePicture() { mPictureChooserTask.ChoosePictureFromLibrary(PictureSize, 95, OnPictureAvailable, OnChoosePictureCancelled); }
private void SelectPictureFromLibrary() { _pictureChooserTask.ChoosePictureFromLibrary(400, 95, OnPictureTaken, () => { }); }
private void DoChoosePicture() { _pictureChooserTask.ChoosePictureFromLibrary(128, 60, OnPicture, OnPictureCancelled); }