AudioPlayManager

public class AudioPlayManager

Functions

Link copied to clipboard
public static AudioPlayManager getInstance()
Link copied to clipboard
public Uri getPlayingUri()
Link copied to clipboard
public boolean isInNormalMode(Context context)
检查AudioPlayManager是否处于通道正常的状态。
Link copied to clipboard
public boolean isInVOIPMode(Context context)
Link copied to clipboard
public boolean isPlaying()
Link copied to clipboard
public void onAccuracyChanged(Sensor sensor, int accuracy)
Link copied to clipboard
public void onSensorChanged(SensorEvent event)
Link copied to clipboard
public void setInVoipMode(boolean isVOIPMode)
Link copied to clipboard
public void setPlayListener(IAudioPlayListener listener)
Link copied to clipboard
public void startPlay(Context context, Uri audioUri, IAudioPlayListener playListener)
Link copied to clipboard
public void stopPlay()