Uno.MvvmCross/SoundEffects
Tomasz Cielecki 7871b9d521 Update nuget packages + fix output path for WPF 2016-07-05 12:20:39 +02:00
..
MvvmCross.Plugins.SoundEffects Update nuget packages + fix output path for WPF 2016-07-05 12:20:39 +02:00
MvvmCross.Plugins.SoundEffects.WindowsPhone Update nuget packages + fix output path for WPF 2016-07-05 12:20:39 +02:00
Readme.md Add readme for all plugins 2015-09-04 22:47:34 +02:00

Readme.md

SoundEffects

The SoundEffects plugin is only supported on WindowsPhone currently.

It uses the ResourceLoader plugin and allows small SoundEffect files to be played via:

public interface IMvxSoundEffectLoader
    : IMvxResourceObjectLoader<IMvxSoundEffect>
{
}

public interface IMvxSoundEffect
    : IMvxResourceObject, IDisposable
{
    IMvxSoundEffectInstance CreateInstance();
}

public interface IMvxSoundEffectInstance
    : IDisposable
{
    void Play();
    void Stop();
}

Current advice (August 2013): this plugin isn't really useful outside of WindowsPhone today - hopefully some project will come along soon that needs this implemented on more platforms.