IndividualEnrollment.setRegistrationId(String registrationId) 方法
定义
Setter for the registrationId.
A valid registration Id shall follow this criteria. A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + {'-', ':', '.', '+', '', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}.
protected final void setRegistrationId(String registrationId)
参数
- registrationId
- String
theString
</code> with the new registrationId. It cannot be<code>null
</code> , empty, or invalid. </p>
返回
final void
例外
IllegalArgumentException
If the provided registrationId isnull
</code> , empty, or invalid. </p>