CMSDK: Update javadocs for onClick vs onClickUri.

Change-Id: I79c9bcfb757e0c57bbfb5c44331a3a74490c5276
This commit is contained in:
Adnan Begovic 2015-04-30 11:21:58 -07:00
parent a7d6fc579f
commit 35a6d6c643
1 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,9 @@ public class CustomTile implements Parcelable {
* An optional intent to execute when the custom tile entry is clicked. If * An optional intent to execute when the custom tile entry is clicked. If
* this is an activity, it must include the * this is an activity, it must include the
* {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires * {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires
* that you take care of task management * that you take care of task management.
*
* This takes priority over the onClickUri.
**/ **/
public PendingIntent onClick; public PendingIntent onClick;
@ -49,7 +51,8 @@ public class CustomTile implements Parcelable {
public Intent onSettingsClick; public Intent onSettingsClick;
/** /**
* An optional Uri to be parsed and broadcast on tile click * An optional Uri to be parsed and broadcast on tile click, if an onClick pending intent
* is specified, it will take priority over the uri to be broadcasted.
**/ **/
public Uri onClickUri; public Uri onClickUri;