Example usage for android.media AudioManager.OnAudioFocusChangeListener interface-usage

List of usage examples for android.media AudioManager.OnAudioFocusChangeListener interface-usage

Introduction

In this page you can find the example usage for android.media AudioManager.OnAudioFocusChangeListener interface-usage.

Usage

From source file com.reallynourl.nourl.fmpfoldermusicplayer.backend.MediaService.java

/**
 * Copyright (C) 2015  Jannes Peters
 * <p/>
 * This program 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

From source file org.telegram.messenger.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationCenter.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "org.telegram.android.musicplayer.previous";
    public static final String NOTIFY_CLOSE = "org.telegram.android.musicplayer.close";
    public static final String NOTIFY_PAUSE = "org.telegram.android.musicplayer.pause";

From source file org.telegraph.messenger.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationCenter.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "org.telegraph.android.musicplayer.previous";
    public static final String NOTIFY_CLOSE = "org.telegraph.android.musicplayer.close";
    public static final String NOTIFY_PAUSE = "org.telegraph.android.musicplayer.pause";

From source file bala.padio.Player.java

public class Player extends Service implements MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener,
        AudioManager.OnAudioFocusChangeListener {
    public final static String PlayerStatusBroadcast = "player.status.name";
    public final static String PlayerStatusMessage = "status";

    private final static String TAG = "Player";

From source file com.goftagram.telegram.messenger.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationCenter.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "com.goftagram.telegram.android.musicplayer.previous";
    public static final String NOTIFY_CLOSE = "com.goftagram.telegram.android.musicplayer.close";
    public static final String NOTIFY_PAUSE = "com.goftagram.telegram.android.musicplayer.pause";

From source file com.dmplayer.manager.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationManager.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "musicplayer.previous";
    public static final String NOTIFY_CLOSE = "musicplayer.close";
    public static final String NOTIFY_PAUSE = "musicplayer.pause";

From source file kz.qobyzbook.manager.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationManager.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "musicplayer.previous";
    public static final String NOTIFY_CLOSE = "musicplayer.close";
    public static final String NOTIFY_PAUSE = "musicplayer.pause";

From source file org.y20k.transistor.PlayerService.java

/**
 * PlayerService class
 */
public final class PlayerService extends Service implements AudioManager.OnAudioFocusChangeListener,
        MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnInfoListener {

From source file org.telegram.android.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationCenter.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "org.telegram.android.musicplayer.previous";
    public static final String NOTIFY_CLOSE = "org.telegram.android.musicplayer.close";
    public static final String NOTIFY_PAUSE = "org.telegram.android.musicplayer.pause";

From source file com.mantraideas.androidaudio.manager.MusicPlayerService.java

public class MusicPlayerService extends Service
        implements AudioManager.OnAudioFocusChangeListener, NotificationManager.NotificationCenterDelegate {

    public static final String NOTIFY_PREVIOUS = "com.rowsun.musicplayer.previous";
    public static final String NOTIFY_CLOSE = "com.rowsun.musicplayer.close";
    public static final String NOTIFY_PAUSE = "com.rowsun.musicplayer.pause";