264 lines
12 KiB
HTML
264 lines
12 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||
|
<HTML style="overflow:auto;">
|
||
|
<HEAD>
|
||
|
<meta name="generator" content="JDiff v1.1.0">
|
||
|
<!-- Generated by the JDiff Javadoc doclet -->
|
||
|
<!-- (http://www.jdiff.org) -->
|
||
|
<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
|
||
|
<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
|
||
|
<TITLE>
|
||
|
android.media.AudioManager
|
||
|
</TITLE>
|
||
|
<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
|
||
|
<noscript>
|
||
|
<style type="text/css">
|
||
|
body{overflow:auto;}
|
||
|
#body-content{position:relative; top:0;}
|
||
|
#doc-content{overflow:visible;border-left:3px solid #666;}
|
||
|
#side-nav{padding:0;}
|
||
|
#side-nav .toggle-list ul {display:block;}
|
||
|
#resize-packages-nav{border-bottom:3px solid #666;}
|
||
|
</style>
|
||
|
</noscript>
|
||
|
<style type="text/css">
|
||
|
</style>
|
||
|
</HEAD>
|
||
|
<BODY>
|
||
|
<!-- Start of nav bar -->
|
||
|
<a name="top"></a>
|
||
|
<div id="header" style="margin-bottom:0;padding-bottom:0;">
|
||
|
<div id="headerLeft">
|
||
|
<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
|
||
|
</div>
|
||
|
<div id="headerRight">
|
||
|
<div id="headerLinks">
|
||
|
<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
|
||
|
<span class="text">
|
||
|
<!-- <a href="#">English</a> | -->
|
||
|
<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
|
||
|
<table class="diffspectable">
|
||
|
<tr>
|
||
|
<td colspan="2" class="diffspechead">API Diff Specification</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="diffspec" style="padding-top:.25em">To Level:</td>
|
||
|
<td class="diffvaluenew" style="padding-top:.25em">8</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="diffspec">From Level:</td>
|
||
|
<td class="diffvalueold">7</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="diffspec">Generated</td>
|
||
|
<td class="diffvalue">2010.05.11 19:22</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><!-- End and-diff-id -->
|
||
|
<div class="and-diff-id" style="margin-right:8px;">
|
||
|
<table class="diffspectable">
|
||
|
<tr>
|
||
|
<td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div> <!-- End and-diff-id -->
|
||
|
</div> <!-- End headerRight -->
|
||
|
</div> <!-- End header -->
|
||
|
<div id="body-content" xstyle="padding:12px;padding-right:18px;">
|
||
|
<div id="doc-content" style="position:relative;">
|
||
|
<div id="mainBodyFluid">
|
||
|
<H2>
|
||
|
Class android.media.<A HREF="../../../../reference/android/media/AudioManager.html" target="_top"><font size="+2"><code>AudioManager</code></font></A>
|
||
|
</H2>
|
||
|
<a NAME="constructors"></a>
|
||
|
<a NAME="methods"></a>
|
||
|
<p>
|
||
|
<a NAME="Added"></a>
|
||
|
<TABLE summary="Added Methods" WIDTH="100%">
|
||
|
<TR>
|
||
|
<TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
|
||
|
</TH>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.abandonAudioFocus_added(android.media.AudioManager.OnAudioFocusChangeListener)"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener)" target="_top"><code>abandonAudioFocus</code></A>(<code>OnAudioFocusChangeListener</code>)</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.isBluetoothScoAvailableOffCall_added()"></A>
|
||
|
<nobr><code>boolean</code> <A HREF="../../../../reference/android/media/AudioManager.html#isBluetoothScoAvailableOffCall()" target="_top"><code>isBluetoothScoAvailableOffCall</code></A>()</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.registerMediaButtonEventReceiver_added(android.content.ComponentName)"></A>
|
||
|
<nobr><code>void</code> <A HREF="../../../../reference/android/media/AudioManager.html#registerMediaButtonEventReceiver(android.content.ComponentName)" target="_top"><code>registerMediaButtonEventReceiver</code></A>(<code>ComponentName</code>)</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.requestAudioFocus_added(android.media.AudioManager.OnAudioFocusChangeListener, int, int)"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, int, int)" target="_top"><code>requestAudioFocus</code></A>(<code>OnAudioFocusChangeListener,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.startBluetoothSco_added()"></A>
|
||
|
<nobr><code>void</code> <A HREF="../../../../reference/android/media/AudioManager.html#startBluetoothSco()" target="_top"><code>startBluetoothSco</code></A>()</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.stopBluetoothSco_added()"></A>
|
||
|
<nobr><code>void</code> <A HREF="../../../../reference/android/media/AudioManager.html#stopBluetoothSco()" target="_top"><code>stopBluetoothSco</code></A>()</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.unregisterMediaButtonEventReceiver_added(android.content.ComponentName)"></A>
|
||
|
<nobr><code>void</code> <A HREF="../../../../reference/android/media/AudioManager.html#unregisterMediaButtonEventReceiver(android.content.ComponentName)" target="_top"><code>unregisterMediaButtonEventReceiver</code></A>(<code>ComponentName</code>)</nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<a NAME="fields"></a>
|
||
|
<p>
|
||
|
<a NAME="Added"></a>
|
||
|
<TABLE summary="Added Fields" WIDTH="100%">
|
||
|
<TR>
|
||
|
<TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
|
||
|
</TH>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED"></A>
|
||
|
<nobr><code>String</code> <A HREF="../../../../reference/android/media/AudioManager.html#ACTION_SCO_AUDIO_STATE_CHANGED" target="_top"><code>ACTION_SCO_AUDIO_STATE_CHANGED</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_GAIN"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN" target="_top"><code>AUDIOFOCUS_GAIN</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN_TRANSIENT" target="_top"><code>AUDIOFOCUS_GAIN_TRANSIENT</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK" target="_top"><code>AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_LOSS"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_LOSS" target="_top"><code>AUDIOFOCUS_LOSS</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_LOSS_TRANSIENT" target="_top"><code>AUDIOFOCUS_LOSS_TRANSIENT</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK" target="_top"><code>AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_REQUEST_FAILED"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_REQUEST_FAILED" target="_top"><code>AUDIOFOCUS_REQUEST_FAILED</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#AUDIOFOCUS_REQUEST_GRANTED" target="_top"><code>AUDIOFOCUS_REQUEST_GRANTED</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.EXTRA_SCO_AUDIO_STATE"></A>
|
||
|
<nobr><code>String</code> <A HREF="../../../../reference/android/media/AudioManager.html#EXTRA_SCO_AUDIO_STATE" target="_top"><code>EXTRA_SCO_AUDIO_STATE</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.SCO_AUDIO_STATE_CONNECTED"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#SCO_AUDIO_STATE_CONNECTED" target="_top"><code>SCO_AUDIO_STATE_CONNECTED</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.SCO_AUDIO_STATE_DISCONNECTED"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#SCO_AUDIO_STATE_DISCONNECTED" target="_top"><code>SCO_AUDIO_STATE_DISCONNECTED</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
|
||
|
<TD VALIGN="TOP" WIDTH="25%">
|
||
|
<A NAME="android.media.AudioManager.SCO_AUDIO_STATE_ERROR"></A>
|
||
|
<nobr><code>int</code> <A HREF="../../../../reference/android/media/AudioManager.html#SCO_AUDIO_STATE_ERROR" target="_top"><code>SCO_AUDIO_STATE_ERROR</code></A></nobr>
|
||
|
</TD>
|
||
|
<TD> </TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
</div>
|
||
|
<div id="footer">
|
||
|
<div id="copyright">
|
||
|
Except as noted, this content is licensed under
|
||
|
<a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
|
||
|
For details and restrictions, see the <a href="/license.html">Content License</a>.
|
||
|
</div>
|
||
|
<div id="footerlinks">
|
||
|
<p>
|
||
|
<a href="http://www.android.com/terms.html">Site Terms of Service</a> -
|
||
|
<a href="http://www.android.com/privacy.html">Privacy Policy</a> -
|
||
|
<a href="http://www.android.com/branding.html">Brand Guidelines</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div> <!-- end footer -->
|
||
|
</div><!-- end doc-content -->
|
||
|
</div> <!-- end body-content -->
|
||
|
<script src="http://www.google-analytics.com/ga.js" type="text/javascript">
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
try {
|
||
|
var pageTracker = _gat._getTracker("UA-5831155-1");
|
||
|
pageTracker._setAllowAnchor(true);
|
||
|
pageTracker._initData();
|
||
|
pageTracker._trackPageview();
|
||
|
} catch(e) {}
|
||
|
</script>
|
||
|
</BODY>
|
||
|
</HTML>
|