Skip to content

Commit 4233c93

Browse files
labtopiaAndroid (Google) Code Review
authored andcommitted
Merge "Doc Update: param name change" into jb-dev-docs
2 parents aac29f1 + 2128ec9 commit 4233c93

File tree

1 file changed

+6
-6
lines changed
  • docs/html/guide/google/gcm

1 file changed

+6
-6
lines changed

docs/html/guide/google/gcm/gcm.jd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
668668
<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>
669669
</tr>
670670
<tr>
671-
<td><code>category</code></td>
672-
<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.
671+
<td><code>restricted_package_name</code></td>
672+
<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.
673673
</td>
674674
</tr>
675675
<tr>
@@ -707,7 +707,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
707707
<td>Same as JSON (see previous table). Optional.</td>
708708
</tr>
709709
<tr>
710-
<td><code>category</code></td>
710+
<td><code>restricted_package_name</code></td>
711711
<td>Same as JSON (see previous table). Optional.
712712
</td>
713713
</tr>
@@ -956,11 +956,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
956956
object in the results array is <code>InternalServerError</code>.
957957
</dd>
958958

959-
<dt id="invalid_category"><strong>Invalid Category</strong></dt>
959+
<dt id="restricted_package_name"><strong>Invalid Package Name</strong></dt>
960960

961961
<dd>
962-
A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is
963-
<code>InvalidCategory</code>.
962+
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
963+
<code>InvalidPackageName</code>.
964964
</dd>
965965

966966

0 commit comments

Comments
 (0)