/// <summary> /// Takes the video asynchronous. /// </summary> /// <param name="options">The options.</param> /// <returns>Task<IMediaFile>.</returns> /// <exception cref="System.NotImplementedException"></exception> public Task<MediaFile> TakeVideoAsync(VideoMediaStorageOptions options) { throw new NotImplementedException(); }
/// <summary> /// Takes the video asynchronous. /// </summary> /// <param name="options">The options.</param> /// <returns>Task<IMediaFile>.</returns> /// <exception cref="System.NotImplementedException"></exception> public Task<MediaFile> TakeVideoAsync(VideoMediaStorageOptions options) { if (!IsCameraAvailable) throw new NotSupportedException(); options.VerifyOptions(); return TakeMediaAsync("video/*", MediaStore.ActionVideoCapture, options); }
/// <summary> /// Selects the video asynchronous. /// </summary> /// <param name="options">The options.</param> /// <returns>Task<IMediaFile>.</returns> public Task<MediaFile> SelectVideoAsync(VideoMediaStorageOptions options){ if (!IsPhotosSupported) throw new NotSupportedException(); return GetMediaAsync (UIImagePickerControllerSourceType.PhotoLibrary, TypeMovie); }
/// <summary> /// Selects the video asynchronous. /// </summary> /// <param name="options"></param> /// <returns>Task<IMediaFile>.</returns> /// <exception cref="System.NotImplementedException"></exception> public Task<MediaFile> SelectVideoAsync(VideoMediaStorageOptions options) { if (!IsCameraAvailable) throw new NotSupportedException(); options.VerifyOptions(); return TakeMediaAsync("video/*", Intent.ActionPick, options); }
/// <summary> /// Takes the video asynchronous. /// </summary> /// <param name="options">The options.</param> /// <returns>Task<IMediaFile>.</returns> public Task<MediaFile> TakeVideoAsync(VideoMediaStorageOptions options) { if (!IsVideosSupported) throw new NotSupportedException(); if (!IsCameraAvailable) throw new NotSupportedException(); //VerifyCameraOptions (options); return GetMediaAsync (UIImagePickerControllerSourceType.Camera, TypeMovie, options); }