Skip to content

Commit 76b1be8

Browse files
labtopiaAndroid Git Automerger
authored andcommitted
am 39cc8f8: am 4233c93: Merge "Doc Update: param name change" into jb-dev-docs
* commit '39cc8f8079412f721c5003cd2d0cb07366b77da4': Doc Update: param name change
2 parents 0edd4d0 + 39cc8f8 commit 76b1be8

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
@@ -674,8 +674,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
674674
<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>
675675
</tr>
676676
<tr>
677-
<td><code>category</code></td>
678-
<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.
677+
<td><code>restricted_package_name</code></td>
678+
<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.
679679
</td>
680680
</tr>
681681
<tr>
@@ -713,7 +713,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
713713
<td>Same as JSON (see previous table). Optional.</td>
714714
</tr>
715715
<tr>
716-
<td><code>category</code></td>
716+
<td><code>restricted_package_name</code></td>
717717
<td>Same as JSON (see previous table). Optional.
718718
</td>
719719
</tr>
@@ -962,11 +962,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
962962
object in the results array is <code>InternalServerError</code>.
963963
</dd>
964964

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

967967
<dd>
968-
A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is
969-
<code>InvalidCategory</code>.
968+
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
969+
<code>InvalidPackageName</code>.
970970
</dd>
971971

972972

0 commit comments

Comments
 (0)