/** * This file is part of Simple Last.fm Scrobbler. * * Simple Last.fm Scrobbler is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Simple Last.fm Scrobbler is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Simple Last.fm Scrobbler. If not, see <http://www.gnu.org/licenses/>. * * See http://code.google.com/p/a-simple-lastfm-scrobbler/ for the latest version. */ package org.tomahawk.tomahawk_android.receiver; /** * A BroadcastReceiver for intents sent by the Samsung default Music Player. * * @author tgwizard * @see AbstractPlayStatusReceiver * @since 1.3.1 */ public class SamsungMusicReceiver extends BuiltInMusicAppReceiver { public static final String ACTION_SAMSUNG_PLAYSTATECHANGED = "com.samsung.sec.android.MusicPlayer.playstatechanged"; public static final String ACTION_SAMSUNG_STOP = "com.samsung.sec.android.MusicPlayer.playbackcomplete"; public static final String ACTION_SAMSUNG_METACHANGED = "com.samsung.sec.android.MusicPlayer.metachanged"; public SamsungMusicReceiver() { super(ACTION_SAMSUNG_STOP, "com.samsung.sec.android.MusicPlayer", "Samsung Music Player"); } }