PHPickerFilter.slomoVideosFilter static property
The PHPickerFilter.slomoVideosFilter static property is a predefined filter that shows only slow-motion videos.
Value
A PHPickerFilter.
- Read-only. Assigning to it throws
TypeError. - Every read returns the same object, so you can compare it with
===. - You can combine it with other filters; see
anyFilterMatchingSubfilters(),allFilterMatchingSubfilters(), andnotFilterOfSubfilter().
Examples
js
const config = new PHPickerConfiguration();
config.filter = PHPickerFilter.slomoVideosFilter;
console.log(PHPickerFilter.slomoVideosFilter === PHPickerFilter.slomoVideosFilter);Effect: The console prints true. A photo picker created with this configuration shows only slow-motion videos. The on-screen effect is not verified in the simulator.
Corresponding iOS API
PHPickerFilter.slomoVideosFilter.
See also
PHPickerFilter: all filters and how to compare themfilter: the configuration property that holds the filter- This class belongs to the
@nacrejs/photospackage; see Installation