Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5212ee08 authored by Quddus Chong's avatar Quddus Chong Committed by Android (Google) Code Review
Browse files

Merge "docs: Add Javadocs for GMS Longhorn." into klp-modular-dev

parents 85a25e02 559c0060
Loading
Loading
Loading
Loading
+36 −11

File changed.

Preview size limit exceeded, changes collapsed.

+166 −32
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@








@@ -97,7 +99,7 @@
href="//fonts.googleapis.com/css?family=Roboto+Condensed">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
  title="roboto">
<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
<link href="/assets/css/default.css?v=2" rel="stylesheet" type="text/css">



@@ -109,19 +111,20 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
  var metaTags = [];
  var devsite = false;
</script>
<script src="/assets/js/docs.js" type="text/javascript"></script>
<script src="/assets/js/docs.js?v=2" type="text/javascript"></script>

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5831155-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-5831155-1', 'android.com');
  ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'});  // New tracker);
  ga('send', 'pageview');
  ga('universal.send', 'pageview'); // Send page view for new tracker.
</script>

</head>

<body class="gc-documentation google
@@ -274,11 +277,20 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">


        <!-- Expanded quicknav -->
        <div id="quicknav" class="col-9">
        <div id="quicknav" class="col-13">
          <ul>
            <li class="about">
              <ul>
                <li><a href="/about/index.html">About</a></li>
                <li><a href="/wear/index.html">Wear</a></li>
                <li><a href="/tv/index.html">TV</a></li>
                <li><a href="/auto/index.html">Auto</a></li>
              </ul>
            </li>
            <li class="design">
              <ul>
                <li><a href="/design/index.html">Get Started</a></li>
                <li><a href="/design/devices.html">Devices</a></li>
                <li><a href="/design/style/index.html">Style</a></li>
                <li><a href="/design/patterns/index.html">Patterns</a></li>
                <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
@@ -312,7 +324,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="リファレンス"
                  es-lang="Referencia"
                  >Reference</a></li>
                <li><a href="/tools/index.html"
                <li><a href="/sdk/index.html"
                  zh-tw-lang="相關工具"
                  zh-cn-lang="工具"
                  ru-lang="Инструменты"
@@ -320,7 +332,6 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="ツール"
                  es-lang="Herramientas"
                  >Tools</a>
                  <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul>
                </li>
                <li><a href="/google/index.html">Google Services</a>
                </li>
@@ -375,7 +386,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="リファレンス"
                  es-lang="Referencia"
                  >Reference</a></li>
                <li class="tools"><a href="/tools/index.html"
                <li class="tools"><a href="/sdk/index.html"
                  zh-tw-lang="相關工具"
                  zh-cn-lang="工具"
                  ru-lang="Инструменты"
@@ -394,7 +405,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
            </ul>
        </div>
    </div>
    <!-- /Sendondary x-nav -->
    <!-- /Sendondary x-nav DEVELOP -->

  

@@ -1254,6 +1265,28 @@ or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>na
      </tr>
      
    
      <tr class="alt-color api apilevel-" >
          <td class="jd-typecol"><nobr>
          public
          static
          
          int</nobr></td>
          <td class="jd-linkcol"><a href="/reference/com/google/android/gms/R.attr.html#schemaOrgProperty">schemaOrgProperty</a></td>
          <td class="jd-descrcol" width="100%">Section corresponds to this schema.org property.</td>
      </tr>


      <tr class=" api apilevel-" >
          <td class="jd-typecol"><nobr>
          public
          static

          int</nobr></td>
          <td class="jd-linkcol"><a href="/reference/com/google/android/gms/R.attr.html#schemaOrgType">schemaOrgType</a></td>
          <td class="jd-descrcol" width="100%">schema.org type of documents in this corpus.</td>
      </tr>


      <tr class="alt-color api apilevel-" >
          <td class="jd-typecol"><nobr>
          public
@@ -1938,11 +1971,14 @@ containing a value of this type.
  <div class="jd-tagdata jd-tagdescr"><p>Whether or not global search is enabled for this corpus. Optional; defaults to
      <code>true</code>. If set to <code>false</code>, it will be treated as if the <code>GlobalSearchCorpus</code>
      element did not exist.


      Allow shortcuts to global search results from this corpus to be created. If set to
      <code>true</code>, the global search app may allow the user to create shortcuts to results, for
      example on the users home screen. The shortcuts may be long lived, and may persist after the
      linked document has been deleted. The activity that handles the global search result intent
      should be able to deal with this gracefully. Defaults to <code>false</code>.

         <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2019,6 +2055,7 @@ containing a value of this type.
  <div class="jd-tagdata jd-tagdescr"><p>Height of the buy button. This includes an 8dp padding (4dp on each side) used for
             pressed and focused states of the button. The value can be a specific height, e.g.
             "48dp", or special values "match_parent" and "wrap_content".

         <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
@@ -2106,6 +2143,7 @@ containing a value of this type.
  <div class="jd-tagdata jd-tagdescr"><p>Width of the buy button. This includes an 8dp padding (4dp on each side) used for
             pressed and focused states of the button. The value can be a specific width, e.g.
             "300dp", or special values "match_parent" and "wrap_content".

         <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
@@ -2323,6 +2361,7 @@ containing a value of this type.
      
  <div class="jd-tagdata jd-tagdescr"><p>The URI of the content provider that the index should crawl to get the data for this
    corpus. Required. This string must not change between configurations.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2394,6 +2433,7 @@ containing a value of this type.
      
  <div class="jd-tagdata jd-tagdescr"><p>The version of the corpus. Optional; defaults to <code>"0"</code>. This string must not change
      between configurations.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2430,6 +2470,7 @@ containing a value of this type.

  <div class="jd-tagdata jd-tagdescr"><p>The default value for the global search section <code>default_intent_action</code>. Optional.
      This string must not change between configurations.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2466,6 +2507,7 @@ containing a value of this type.

  <div class="jd-tagdata jd-tagdescr"><p>The default value for the global search section <code>default_intent_aactivity</code>. Optional.
      This string must not change between configurations.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2502,6 +2544,7 @@ containing a value of this type.

  <div class="jd-tagdata jd-tagdescr"><p>The default value for the global search section <code>default_intent_data</code>. Optional.
      This string must not change between configurations.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2584,8 +2627,18 @@ containing a value of this type.
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>match_global_nicknames</code></td><td>1</td><td> Enable global nickname matching on this section </td></tr>
<tr><td><code>demote_common_words</code></td><td>2</td><td> Demote common words by a factor in this section </td></tr>
<tr><td><code>demote_rfc822_hostnames</code></td><td>3</td><td>  Demote RFC822 hostnames by a factor in this section. Only applicable to RFC822
            sections </td></tr>
<tr><td><code>demote_rfc822_hostnames</code></td><td>3</td><td>
            Demote RFC822 hostnames by a factor in this section. Only applicable to RFC822
            sections
            </td></tr>
<tr><td><code>omnibox_url_section</code></td><td>4</td><td>
            Mark this is an omnibox url section. May enable special ranking and matching
            behavior. Only application to url sections.
            </td></tr>
<tr><td><code>omnibox_title_section</code></td><td>5</td><td>
            Mark this is an omnibox title section. May enable special ranking and matching
            behavior.
            </td></tr>
</table>
</p></div>

@@ -2686,6 +2739,7 @@ or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>na

  <div class="jd-tagdata jd-tagdescr"><p>Indicates if this section should support prefix matching. Optional; defaults to
      <code>false</code>.

         <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -2723,6 +2777,7 @@ containing a value of this type.
  <div class="jd-tagdata jd-tagdescr"><p>Whether or not this corpus could be useful input for IME. Optional; defaults to
        <code>true</code>. If set to <code>false</code>, it will be treated as if the <code>IMECorpus</code>
        element did not exist.

         <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3115,6 +3170,76 @@ containing a value of this type.



<A NAME="schemaOrgProperty"></A>

<div class="jd-details api apilevel-">
    <h4 class="jd-details-title">
      <span class="normal">
        public
        static

        int
      </span>
        schemaOrgProperty
    </h4>
      <div class="api-level">




      </div>
    <div class="jd-details-descr">

  <div class="jd-tagdata jd-tagdescr"><p>Section corresponds to this schema.org property. Optional.
         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
</p></div>


    </div>
</div>



<A NAME="schemaOrgType"></A>

<div class="jd-details api apilevel-">
    <h4 class="jd-details-title">
      <span class="normal">
        public
        static

        int
      </span>
        schemaOrgType
    </h4>
      <div class="api-level">




      </div>
    <div class="jd-details-descr">

  <div class="jd-tagdata jd-tagdescr"><p>schema.org type of documents in this corpus. Optional.
         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
</p></div>


    </div>
</div>



<A NAME="searchEnabled"></A>

<div class="jd-details api apilevel-"> 
@@ -3138,6 +3263,7 @@ containing a value of this type.
  <div class="jd-tagdata jd-tagdescr"><p>Whether or not global search is enabled for this app. Optional; defaults to <code>true</code>.
      If set to <code>false</code>, it will be treated as if the <code>GlobalSearch</code> element did not
      exist.

         <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3209,6 +3335,7 @@ containing a value of this type.
      
  <div class="jd-tagdata jd-tagdescr"><p>The content of this global search section. This is a global search section template string.
      It should contain a reference to a string which can change between configurations.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3253,6 +3380,7 @@ containing a value of this type.
<tr><td><code>plain</code></td><td>0</td><td></td></tr>
<tr><td><code>html</code></td><td>1</td><td></td></tr>
<tr><td><code>rfc822</code></td><td>2</td><td></td></tr>
<tr><td><code>url</code></td><td>3</td><td></td></tr>
</table>
</p></div>

@@ -3399,6 +3527,7 @@ containing a value of this type.
      
  <div class="jd-tagdata jd-tagdescr"><p>A localized string to describe this apps data within the global search apps settings.
      Optional.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3474,6 +3603,7 @@ containing a value of this type.
      
  <div class="jd-tagdata jd-tagdescr"><p>Subsection separator. Optional. If not provided, the section is not split into
      subsections.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3548,6 +3678,7 @@ containing a value of this type.

  <div class="jd-tagdata jd-tagdescr"><p>Sections containing entities communicated with in a given document.
        Entities can be names, email addresses or phone numbers.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3584,6 +3715,7 @@ containing a value of this type.
      
  <div class="jd-tagdata jd-tagdescr"><p>Indicates if documents from this corpus can be trimmed when the index reaches its quota.
      Optional; defaults to <code>true</code>.

         <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3859,6 +3991,7 @@ containing a value of this type.
  <div class="jd-tagdata jd-tagdescr"><p>If this section is non-empty, the document is considered to be input by the user if
        either <code><a href="/reference/com/google/android/gms/R.attr.html#userInputValue">userInputValue</a></code> is not set or the content of this section is equal to that
        value.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
@@ -3930,6 +4063,7 @@ containing a value of this type.

  <div class="jd-tagdata jd-tagdescr"><p>If set, <code><a href="/reference/com/google/android/gms/R.attr.html#userInputSection">userInputSection</a></code> contents needs to equal this value for the document
        to be considered input by user.

         <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
+33 −30
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@








@@ -97,7 +99,7 @@
href="//fonts.googleapis.com/css?family=Roboto+Condensed">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
  title="roboto">
<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
<link href="/assets/css/default.css?v=2" rel="stylesheet" type="text/css">



@@ -109,19 +111,20 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
  var metaTags = [];
  var devsite = false;
</script>
<script src="/assets/js/docs.js" type="text/javascript"></script>
<script src="/assets/js/docs.js?v=2" type="text/javascript"></script>

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5831155-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-5831155-1', 'android.com');
  ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'});  // New tracker);
  ga('send', 'pageview');
  ga('universal.send', 'pageview'); // Send page view for new tracker.
</script>

</head>

<body class="gc-documentation google
@@ -274,11 +277,20 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">


        <!-- Expanded quicknav -->
        <div id="quicknav" class="col-9">
        <div id="quicknav" class="col-13">
          <ul>
            <li class="about">
              <ul>
                <li><a href="/about/index.html">About</a></li>
                <li><a href="/wear/index.html">Wear</a></li>
                <li><a href="/tv/index.html">TV</a></li>
                <li><a href="/auto/index.html">Auto</a></li>
              </ul>
            </li>
            <li class="design">
              <ul>
                <li><a href="/design/index.html">Get Started</a></li>
                <li><a href="/design/devices.html">Devices</a></li>
                <li><a href="/design/style/index.html">Style</a></li>
                <li><a href="/design/patterns/index.html">Patterns</a></li>
                <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
@@ -312,7 +324,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="リファレンス"
                  es-lang="Referencia"
                  >Reference</a></li>
                <li><a href="/tools/index.html"
                <li><a href="/sdk/index.html"
                  zh-tw-lang="相關工具"
                  zh-cn-lang="工具"
                  ru-lang="Инструменты"
@@ -320,7 +332,6 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="ツール"
                  es-lang="Herramientas"
                  >Tools</a>
                  <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul>
                </li>
                <li><a href="/google/index.html">Google Services</a>
                </li>
@@ -375,7 +386,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="リファレンス"
                  es-lang="Referencia"
                  >Reference</a></li>
                <li class="tools"><a href="/tools/index.html"
                <li class="tools"><a href="/sdk/index.html"
                  zh-tw-lang="相關工具"
                  zh-cn-lang="工具"
                  ru-lang="Инструменты"
@@ -394,7 +405,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
            </ul>
        </div>
    </div>
    <!-- /Sendondary x-nav -->
    <!-- /Sendondary x-nav DEVELOP -->

  

@@ -858,8 +869,7 @@ Summary:
          
          int</nobr></td>
          <td class="jd-linkcol"><a href="/reference/com/google/android/gms/R.color.html#common_signin_btn_dark_text_default">common_signin_btn_dark_text_default</a></td>
          <td class="jd-descrcol" width="100%">Sign-in Button Colors 
</td>
          <td class="jd-descrcol" width="100%"></td>
      </tr>
      
    
@@ -991,10 +1001,7 @@ Summary:

          int</nobr></td>
          <td class="jd-linkcol"><a href="/reference/com/google/android/gms/R.color.html#wallet_bright_foreground_holo_dark">wallet_bright_foreground_holo_dark</a></td>
          <td class="jd-descrcol" width="100%">Wallet colors to support consistent Wallet fragment holo dark UI in client application
         regardless of the theme and device type

</td>
          <td class="jd-descrcol" width="100%"></td>
      </tr>


@@ -1471,8 +1478,7 @@ From class
      </div>
    <div class="jd-details-descr">
      
  <div class="jd-tagdata jd-tagdescr"><p>Sign-in Button Colors 
</p></div>
  <div class="jd-tagdata jd-tagdescr"><p></p></div>

    
    </div>
@@ -1808,10 +1814,7 @@ From class
      </div>
    <div class="jd-details-descr">

  <div class="jd-tagdata jd-tagdescr"><p>Wallet colors to support consistent Wallet fragment holo dark UI in client application
         regardless of the theme and device type

</p></div>
  <div class="jd-tagdata jd-tagdescr"><p></p></div>


    </div>
+29 −18
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@








@@ -97,7 +99,7 @@
href="//fonts.googleapis.com/css?family=Roboto+Condensed">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
  title="roboto">
<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
<link href="/assets/css/default.css?v=2" rel="stylesheet" type="text/css">



@@ -109,19 +111,20 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
  var metaTags = [];
  var devsite = false;
</script>
<script src="/assets/js/docs.js" type="text/javascript"></script>
<script src="/assets/js/docs.js?v=2" type="text/javascript"></script>

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5831155-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-5831155-1', 'android.com');
  ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'});  // New tracker);
  ga('send', 'pageview');
  ga('universal.send', 'pageview'); // Send page view for new tracker.
</script>

</head>

<body class="gc-documentation google
@@ -274,11 +277,20 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">


        <!-- Expanded quicknav -->
        <div id="quicknav" class="col-9">
        <div id="quicknav" class="col-13">
          <ul>
            <li class="about">
              <ul>
                <li><a href="/about/index.html">About</a></li>
                <li><a href="/wear/index.html">Wear</a></li>
                <li><a href="/tv/index.html">TV</a></li>
                <li><a href="/auto/index.html">Auto</a></li>
              </ul>
            </li>
            <li class="design">
              <ul>
                <li><a href="/design/index.html">Get Started</a></li>
                <li><a href="/design/devices.html">Devices</a></li>
                <li><a href="/design/style/index.html">Style</a></li>
                <li><a href="/design/patterns/index.html">Patterns</a></li>
                <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
@@ -312,7 +324,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="リファレンス"
                  es-lang="Referencia"
                  >Reference</a></li>
                <li><a href="/tools/index.html"
                <li><a href="/sdk/index.html"
                  zh-tw-lang="相關工具"
                  zh-cn-lang="工具"
                  ru-lang="Инструменты"
@@ -320,7 +332,6 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="ツール"
                  es-lang="Herramientas"
                  >Tools</a>
                  <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul>
                </li>
                <li><a href="/google/index.html">Google Services</a>
                </li>
@@ -375,7 +386,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
                  ja-lang="リファレンス"
                  es-lang="Referencia"
                  >Reference</a></li>
                <li class="tools"><a href="/tools/index.html"
                <li class="tools"><a href="/sdk/index.html"
                  zh-tw-lang="相關工具"
                  zh-cn-lang="工具"
                  ru-lang="Инструменты"
@@ -394,7 +405,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed">
            </ul>
        </div>
    </div>
    <!-- /Sendondary x-nav -->
    <!-- /Sendondary x-nav DEVELOP -->

  

+29 −18

File changed.

Preview size limit exceeded, changes collapsed.

Loading