public void Dispose() { if (_player != null) { _player.StopPlayer(); _player = null; } }
public SoundService() { _player = new AudioPlayer(Application.Context); }
public void Dispose() { if (_player != null) { _player.StopPlayer(); _player = null; } }
public SoundService() { _player = new AudioPlayer(Application.Context); }