Patches

Photo Library

Photo Library

Retrieve images and videos from Camera Roll on iOS or Photo Library on macOS

Photo Library

  • Sort By
  • Order
  • Media Type
  • Album
  • Index
  • Photo Media
  • Error

Sort By

The criteria by which the Photo media output is going to be sorted. The options are:

  1. None.
  2. Creation Date.
  3. Size.
  4. Duration. (only available for media type video)
Order

Works together with Sort By to determine if the list should be in Ascending or Descending order.

Media Type

Filters the results by media type. The possible media types are:

  1. All.
  2. Photos.
  3. Videos.
Album

A string that filters the output to elements that are only present in that Album. If an empty string is provided it will bring “All Photos” from the Library. For querying the Albums see: Photo Albums

Index

A loop of photo media indices.

Photo Media

A loop of photo media assets (Each photo media asset can be an image or a video.)

Error

A boolean if there is an error retrieving photo media assets. Usually due to permission issues.