MCPcopy Create free account
hub / github.com/coronalabs/corona / selectPhoto

Function selectPhoto

librtt/Rtt_LuaLibMedia.cpp:533–585  ·  view source on GitHub ↗

media.selectPhoto ({ destination = {basedir = ..., filename = ...} -- location of where to save the file listener = myListener -- callback to get the name of the saved file mediaSource = source -- only applicable to iOS because it can be from 2 sources, the PhotoLibrary or the SavedPhotosAlbum which don't exist on Android }) TODO:Currently it still accepts Camera for the source but it really

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

lua_gettopFunction · 0.85
lua_typeFunction · 0.85
lua_getfieldFunction · 0.85
EnumForUserdataFunction · 0.85
lua_touserdataFunction · 0.85
luaL_refFunction · 0.85
showImageUIFunction · 0.85
lua_settopFunction · 0.85

Tested by

no test coverage detected