AVPlayer.GetVolume
------------------

Queries current volume.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVPlayer](component_AVPlayer.md) | [7.1](newinversion71.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "AVPlayer.GetVolume"; AVPlayer ) 

**MBS**( **"AVPlayer.GetVolume";** /\* Queries current volume. \*/  
**$AVPlayer**) /\* The reference number of the player.e.g. $Player \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVPlayer | The reference number of the player. | $Player |

### Result

Returns number or error.

### Description

Queries current volume.  
### See also

- [AVPlayer.GetMuted](AVPlayerGetMuted.md)
- [AVPlayer.GetTime](AVPlayerGetTime.md)
- [AVPlayer.GetVisible](AVPlayerGetVisible.md)
- [AVPlayer.OpenContainer](AVPlayerOpenContainer.md)
- [AVPlayer.OpenFile](AVPlayerOpenFile.md)
- [AVPlayer.SetFocus](AVPlayerSetFocus.md)
- [AVPlayer.SetVolume](AVPlayerSetVolume.md)

### Example Databases

- [Mac and iOS/AVPlayer](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/AVPlayer.shtml#1ScriptAnchor_)

This function checks for a license.

Created 3th February 2017 , last changed 3th February 2017

  
[AVPlayer.GetVisible](AVPlayerGetVisible.md) - [AVPlayer.GetWindowRef](AVPlayerGetWindowRef.md)

[HTML Version](AVPlayerGetVolume.shtml)