AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones de teléfono
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Retrieves the current setting of the volume for a sound source.
Note: This function can be used in the emulator.
Ejemplo
nVolume is int = VolumeGet(volumeRing)
Sintaxis
<Result> = VolumeGet([<Source> [, <Options>]])
<Result>: Integer
  • Value of the volume for the specified source,
  • -1 if an error occurred. In this case, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.
<Source>: Optional Integer constant
Sound source to use.
volumeAlarmVolume of the alarme.
volumeCallVolume of calls.
volumeDefaultVolume of default source. This source depends on the phone configuration.
volumeMusicVolume used when playing an audio or video file.
volumeNotificationVolume of the sound emitted during a new notification.
volumeRing
(Default value)
Volume of phone ring.
volumeSystemVolume of system sounds.
<Options>: Optional Integer constant
Type of volume to retrieve:
volumeCurrent
(Default value)
Current volume of specified source. This volume is included between 0 and the maximum value for the volume of the source.
volumeCurrentPercentageCurrent volume of specified source, expressed in percentage of its maximum value. This volume is included between 0 and 100.
volumeMaxMaximum volume of specified source.
Observaciones
  • To modify the setting of the volume for a sound source, use VolumeModify.
  • To modify the sound source associated with the physical button used to set the volume of the device, call VolumePhysicalButton.
Componente: wd300android.jar
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local