Merge "Doc Update: param name change" into jb-dev-docs

This commit is contained in:
&& repo sync -j8
2012-11-12 14:56:58 -08:00
committed by Android (Google) Code Review

View File

@@ -668,8 +668,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
<td>How long (in seconds) the message should be kept on GCM storage if the device is offline. Optional (default time-to-live is 4 weeks, and must be set as a JSON number). </td>
</tr>
<tr>
<td><code>category</code></td>
<td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the category. Optional.
<td><code>restricted_package_name</code></td>
<td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the package name. Optional.
</td>
</tr>
<tr>
@@ -707,7 +707,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
<td>Same as JSON (see previous table). Optional.</td>
</tr>
<tr>
<td><code>category</code></td>
<td><code>restricted_package_name</code></td>
<td>Same as JSON (see previous table). Optional.
</td>
</tr>
@@ -956,11 +956,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
object in the results array is <code>InternalServerError</code>.
</dd>
<dt id="invalid_category"><strong>Invalid Category</strong></dt>
<dt id="restricted_package_name"><strong>Invalid Package Name</strong></dt>
<dd>
A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is
<code>InvalidCategory</code>.
A message was addressed to a registration ID whose package name did not match the value passed in the request. Happens when error code is
<code>InvalidPackageName</code>.
</dd>