Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Ti
Media
Sound
Interface Sound
Hierarchy
Proxy
Sound
Index
Properties
allowBackground
bubbleParent
duration
looping
paused
playing
time
url
volume
Methods
addEventListener
applyProperties
fireEvent
getBubbleParent
getDuration
getTime
getUrl
getVolume
isLooping
isPaused
isPlaying
pause
play
release
removeEventListener
reset
setBubbleParent
setLooping
setPaused
setTime
setUrl
setVolume
stop
Properties
public
allowBackground
:
boolean
public
bubbleParent
:
boolean
public
duration
:
number
public
looping
:
boolean
public
paused
:
boolean
public
playing
:
boolean
public
time
:
number
public
url
:
string
public
volume
:
number
Methods
public
addEventListener
(
name
:
string
, callback
:
(...args: any[]) => any
)
Parameters
name:
string
callback:
(...args: any[]) => any
public
applyProperties
(
props
:
Dictionary
)
Parameters
props:
Dictionary
public
fireEvent
(
name
:
string
, event
:
Dictionary
)
Parameters
name:
string
event:
Dictionary
public
getBubbleParent
(
)
:
boolean
Returns
boolean
public
getDuration
(
)
:
number
Returns
number
public
getTime
(
)
:
number
Returns
number
public
getUrl
(
)
:
string
Returns
string
public
getVolume
(
)
:
number
Returns
number
public
isLooping
(
)
:
boolean
Returns
boolean
public
isPaused
(
)
:
boolean
Returns
boolean
public
isPlaying
(
)
:
boolean
Returns
boolean
public
pause
(
)
public
play
(
)
public
release
(
)
public
removeEventListener
(
name
:
string
, callback
:
(...args: any[]) => any
)
Parameters
name:
string
callback:
(...args: any[]) => any
public
reset
(
)
public
setBubbleParent
(
bubbleParent
:
boolean
)
Parameters
bubbleParent:
boolean
public
setLooping
(
looping
:
boolean
)
Parameters
looping:
boolean
public
setPaused
(
paused
:
boolean
)
Parameters
paused:
boolean
public
setTime
(
time
:
number
)
Parameters
time:
number
public
setUrl
(
url
:
string
)
Parameters
url:
string
public
setVolume
(
volume
:
number
)
Parameters
volume:
number
public
stop
(
)
Globals
Global
Ti
Ti.Android
Ti.Android.Calendar
Ti.App
Ti.App.iOS
Ti.Calendar
Ti.Cloud
Ti.Contacts
Ti.Contacts.Tizen
Ti.Database
Ti.Facebook
Ti.Filesystem
Ti.Geolocation
Ti.Geolocation.Android
Ti.Map
Ti.Media
Ti.Network
Ti.Network.Socket
Ti.Platform
Ti.UI
Ti.UI.Android
Ti.UI.MobileWeb
Ti.UI.iOS
Ti.UI.iPad
Ti.UI.iPhone
Ti.XML
AUDIO_FILEFORMAT_3GP2
AUDIO_FILEFORMAT_3GPP
AUDIO_FILEFORMAT_AIFF
AUDIO_FILEFORMAT_AMR
AUDIO_FILEFORMAT_CAF
AUDIO_FILEFORMAT_MP3
AUDIO_FILEFORMAT_MP4
AUDIO_FILEFORMAT_MP4A
AUDIO_FILEFORMAT_WAVE
AUDIO_FORMAT_AAC
AUDIO_FORMAT_ALAW
AUDIO_FORMAT_APPLE_LOSSLESS
AUDIO_FORMAT_ILBC
AUDIO_FORMAT_IMA4
AUDIO_FORMAT_LINEAR_PCM
AUDIO_FORMAT_ULAW
AUDIO_HEADPHONES
AUDIO_HEADPHONES_AND_MIC
AUDIO_HEADSET_INOUT
AUDIO_LINEOUT
AUDIO_MICROPHONE
AUDIO_MUTED
AUDIO_RECEIVER_AND_MIC
AUDIO_SESSION_MODE_AMBIENT
AUDIO_SESSION_MODE_PLAYBACK
AUDIO_SESSION_MODE_PLAY_AND_RECORD
AUDIO_SESSION_MODE_RECORD
AUDIO_SESSION_MODE_SOLO_AMBIENT
AUDIO_SPEAKER
AUDIO_UNAVAILABLE
AUDIO_UNKNOWN
CAMERA_FRONT
CAMERA_REAR
DEVICE_BUSY
MEDIA_TYPE_PHOTO
MEDIA_TYPE_VIDEO
MUSIC_MEDIA_GROUP_ALBUM
MUSIC_MEDIA_GROUP_ALBUM_ARTIST
MUSIC_MEDIA_GROUP_ARTIST
MUSIC_MEDIA_GROUP_COMPOSER
MUSIC_MEDIA_GROUP_GENRE
MUSIC_MEDIA_GROUP_PLAYLIST
MUSIC_MEDIA_GROUP_PODCAST_TITLE
MUSIC_MEDIA_GROUP_TITLE
MUSIC_MEDIA_TYPE_ALL
MUSIC_MEDIA_TYPE_ANY_AUDIO
MUSIC_MEDIA_TYPE_AUDIOBOOK
MUSIC_MEDIA_TYPE_MUSIC
MUSIC_MEDIA_TYPE_PODCAST
MUSIC_PLAYER_REPEAT_ALL
MUSIC_PLAYER_REPEAT_DEFAULT
MUSIC_PLAYER_REPEAT_NONE
MUSIC_PLAYER_REPEAT_ONE
MUSIC_PLAYER_SHUFFLE_ALBUMS
MUSIC_PLAYER_SHUFFLE_DEFAULT
MUSIC_PLAYER_SHUFFLE_NONE
MUSIC_PLAYER_SHUFFLE_SONGS
MUSIC_PLAYER_STATE_INTERRUPTED
MUSIC_PLAYER_STATE_PAUSED
MUSIC_PLAYER_STATE_PLAYING
MUSIC_PLAYER_STATE_SEEK_BACKWARD
MUSIC_PLAYER_STATE_SEEK_FORWARD
MUSIC_PLAYER_STATE_STOPPED
NO_CAMERA
NO_VIDEO
QUALITY_HIGH
QUALITY_LOW
QUALITY_MEDIUM
UNKNOWN_ERROR
VIDEO_CONTROL_DEFAULT
VIDEO_CONTROL_EMBEDDED
VIDEO_CONTROL_FULLSCREEN
VIDEO_CONTROL_HIDDEN
VIDEO_CONTROL_NONE
VIDEO_CONTROL_VOLUME_ONLY
VIDEO_FINISH_REASON_PLAYBACK_ENDED
VIDEO_FINISH_REASON_PLAYBACK_ERROR
VIDEO_FINISH_REASON_USER_EXITED
VIDEO_LOAD_STATE_PLAYABLE
VIDEO_LOAD_STATE_PLAYTHROUGH_OK
VIDEO_LOAD_STATE_STALLED
VIDEO_LOAD_STATE_UNKNOWN
VIDEO_MEDIA_TYPE_AUDIO
VIDEO_MEDIA_TYPE_NONE
VIDEO_MEDIA_TYPE_VIDEO
VIDEO_PLAYBACK_STATE_INTERRUPTED
VIDEO_PLAYBACK_STATE_PAUSED
VIDEO_PLAYBACK_STATE_PLAYING
VIDEO_PLAYBACK_STATE_SEEKING_BACKWARD
VIDEO_PLAYBACK_STATE_SEEKING_FORWARD
VIDEO_PLAYBACK_STATE_STOPPED
VIDEO_REPEAT_MODE_NONE
VIDEO_REPEAT_MODE_ONE
VIDEO_SCALING_ASPECT_FILL
VIDEO_SCALING_ASPECT_FIT
VIDEO_SCALING_MODE_FILL
VIDEO_SCALING_NONE
VIDEO_SOURCE_TYPE_FILE
VIDEO_SOURCE_TYPE_STREAMING
VIDEO_SOURCE_TYPE_UNKNOWN
VIDEO_TIME_OPTION_EXACT
VIDEO_TIME_OPTION_NEAREST_KEYFRAME
appMusicPlayer
audioLineType
audioPlaying
audioSessionMode
availableCameraMediaTypes
availableCameras
availablePhotoGalleryMediaTypes
availablePhotoMediaTypes
averageMicrophonePower
bubbleParent
canRecord
isCameraSupported
peakMicrophonePower
systemMusicPlayer
volume
Android
AudioPlayer
AudioRecorder
Item
MusicPlayer
Sound
allowBackground
bubbleParent
duration
looping
paused
playing
time
url
volume
addEventListener
applyProperties
fireEvent
getBubbleParent
getDuration
getTime
getUrl
getVolume
isLooping
isPaused
isPlaying
pause
play
release
removeEventListener
reset
setBubbleParent
setLooping
setPaused
setTime
setUrl
setVolume
stop
VideoPlayer
addEventListener
applyProperties
beep
createAudioPlayer
createAudioRecorder
createItem
createMusicPlayer
createSound
createVideoPlayer
fireEvent
getAppMusicPlayer
getAudioLineType
getAudioPlaying
getAudioSessionMode
getAvailableCameraMediaTypes
getAvailableCameras
getAvailablePhotoGalleryMediaTypes
getAvailablePhotoMediaTypes
getAverageMicrophonePower
getBubbleParent
getCanRecord
getIsCameraSupported
getPeakMicrophonePower
getSystemMusicPlayer
getVolume
hideCamera
hideMusicLibrary
isMediaTypeSupported
openMusicLibrary
openPhotoGallery
previewImage
queryMusicLibrary
removeEventListener
requestAuthorization
saveToPhotoGallery
setAudioSessionMode
setAvailableCameraMediaTypes
setAvailablePhotoGalleryMediaTypes
setAvailablePhotoMediaTypes
setAverageMicrophonePower
setBubbleParent
showCamera
startMicrophoneMonitor
stopMicrophoneMonitor
switchCamera
takePicture
takeScreenshot
vibrate