media.*

Type Library
Revision Release 2024.3703
Keywords media, audio, video
See also audio.*

Overview

The media library provides access to the multimedia features of the device, including audio, video, camera, and the photo library.

Note that the audio functions in this library are also available as part of the OpenAL-based audio library which supports multiple channels and a wide range of other features.

Constants

media.RemoteSource

Functions

media.capturePhoto()

media.captureVideo()

media.hasSource()

media.newEventSound()

media.newRecording()

media.pauseSound()

media.playEventSound()

media.playSound()

media.playVideo()

media.save()

media.selectPhoto()

media.selectVideo()

media.setSoundVolume()

media.show()

media.stopSound()