Language

PhotoPickerSelectionParams.MinVideoDuration Property

Definition

Returns the minimum required duration for a video to be selectable.

public Java.Time.Duration? MinVideoDuration { [Android.Runtime.Register("getMinVideoDuration", "()Ljava/time/Duration;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getMinVideoDuration", "()Ljava/time/Duration;", "", ApiSince=37)>]
member this.MinVideoDuration : Java.Time.Duration

Property Value

Returns the minimum required duration for a video to be selectable.

Attributes

Remarks

Returns the minimum required duration for a video to be selectable.

If the minimum video duration is not set by the caller app using Builder.setMinVideoDuration(Duration), this method returns null, indicating that the photo picker will not restrict selection based on the minimum video duration.

Android reference for android.widget.photopicker.PhotoPickerSelectionParams.getMinVideoDuration.

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.

Applies to