Skip to content

Commit 30452fb

Browse files
labtopiaAndroid Git Automerger
authored andcommitted
am 422b195: am 76b1be8: am 39cc8f8: am 4233c93: Merge "Doc Update: param name change" into jb-dev-docs
* commit '422b19592fae7bf00b91af62b021fd1e7ba9c031': Doc Update: param name change
2 parents 01774bd + 422b195 commit 30452fb

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
@@ -676,8 +676,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
676676
<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>
677677
</tr>
678678
<tr>
679-
<td><code>category</code></td>
680-
<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.
679+
<td><code>restricted_package_name</code></td>
680+
<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.
681681
</td>
682682
</tr>
683683
<tr>
@@ -717,7 +717,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
717717
<td>Same as JSON (see previous table). Optional.</td>
718718
</tr>
719719
<tr>
720-
<td><code>category</code></td>
720+
<td><code>restricted_package_name</code></td>
721721
<td>Same as JSON (see previous table). Optional.
722722
</td>
723723
</tr>
@@ -964,11 +964,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
964964
object in the results array is <code>InternalServerError</code>.
965965
</dd>
966966

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

969969
<dd>
970-
A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is
971-
<code>InvalidCategory</code>.
970+
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
971+
<code>InvalidPackageName</code>.
972972
</dd>
973973

974974

0 commit comments

Comments
 (0)