Question · React Native course · Module 13: Native APIs

getAlbumsAsync

How do you fetch photo albums?

Answer options

  • MediaLibrary.albums()
  • MediaLibrary.getAlbumsAsync()
  • MediaLibrary.folders()
  • MediaLibrary.collections()

You can check the correct answer by solving this task in the CodeWorlds game.