PhotoPickerSelectionParams.Builder.SetMinVideoDuration(Duration) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the minimum allowed duration for a video media item to be selectable.
[Android.Runtime.Register("setMinVideoDuration", "(Ljava/time/Duration;)Landroid/widget/photopicker/PhotoPickerSelectionParams$Builder;", "", ApiSince=37)]
public Android.Widget.PhotoPicker.PhotoPickerSelectionParams.Builder SetMinVideoDuration(Java.Time.Duration minVideoDuration);
[<Android.Runtime.Register("setMinVideoDuration", "(Ljava/time/Duration;)Landroid/widget/photopicker/PhotoPickerSelectionParams$Builder;", "", ApiSince=37)>]
member this.SetMinVideoDuration : Java.Time.Duration -> Android.Widget.PhotoPicker.PhotoPickerSelectionParams.Builder
Parameters
- minVideoDuration
- Duration
The minimum video duration. This value cannot be null.
Returns
- Attributes
Remarks
Sets the minimum allowed duration for a video media item to be selectable.
Videos shorter than this duration will be disabled for selection.
The maximum duration should not be less than minimum duration, or an exception will be thrown during the build() process.
If it is not set, no minimum video duration constraint will be enforced on the videos that the user can select.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.