Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mvx.Volume Build Status

🔇 MvvmCross Plugin to handle the device's volume

This plugin allows you to handle the device's volume in any MvvmCross project.

Installation

Install via NuGet using:

PM> Install-Package Mvx.Volume

Usage

Resolve it:

var volumeService = Mvx.Resolve<IVolumeService>();

Use it at will:

//Sets the volume. Parameter must be between 0 and 100, inclusive, or else this will throw. 
volumeService.Set(50);

//Convenient alias to volumeService.Set(0)
volumeService.Mute();

Check the Sample projects for a working example.

Acknowledgements

Icon Mute by Gregor Cresnar from the Noun Project

About

🔇 MvvmCross Plugin to handle the device's volume

Resources

Releases

No releases published

Packages

No packages published