Media Player Functions Reference
| Framework | MediaPlayer/MediaPlayer.h |
| Declared in | MPVolumeSettings.h |
Overview
The Media Player framework defines several functions for use in displaying and hiding volume controls.
Functions
MPVolumeSettingsAlertHide
Hides the alert panel that controls the system volume.
void MPVolumeSettingsAlertHide();
Availability
- Available in iOS 2.0 and later.
See Also
Declared In
MPVolumeSettings.hMPVolumeSettingsAlertIsVisible
Returns a Boolean value indicating whether the volume alert panel is currently visible.
BOOL MPVolumeSettingsAlertIsVisible();
Return Value
YES if the volume alert is visible; otherwise, NO.
Availability
- Available in iOS 2.0 and later.
See Also
Declared In
MPVolumeSettings.hMPVolumeSettingsAlertShow
Displays an alert panel for controlling the system volume.
void MPVolumeSettingsAlertShow();
Discussion
The alert panel displayed by this function floats above the contents of the current window. It contains a slider for adjusting the system volume setting and a Done button so that the user can dismiss the panel. You can also dismiss the panel programmatically using the MPVolumeSettingsAlertHide function.
Availability
- Available in iOS 2.0 and later.
See Also
Declared In
MPVolumeSettings.h© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-04-18)