From f6ab1e157d5eae7629f12fff93af925ced0d7e94 Mon Sep 17 00:00:00 2001 From: Jason Heron Date: Fri, 19 Jun 2020 13:26:21 -0700 Subject: [PATCH 1/5] Fixing fiam docs --- .../FirebaseInAppMessagingDisplay.java | 5 +- .../firebase/inappmessaging/model/Action.java | 2 +- .../model/CampaignMetadata.java | 10 +++- .../inappmessaging/model/CardMessage.java | 10 ++-- .../inappmessaging/model/ImageData.java | 2 + .../inappmessaging/model/InAppMessage.java | 55 +++++++++++++++---- .../model/TriggeredInAppMessage.java | 1 - 7 files changed, 64 insertions(+), 21 deletions(-) diff --git a/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java b/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java index aa05bf5eb56..b4b64fb26f5 100644 --- a/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java +++ b/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java @@ -66,7 +66,7 @@ *

Firebase In-App Messaging Display will automatically initialize, start listening for events, * and display eligible in-app messages. * - *

This feature uses a Firebase Instance ID token to: + *

This feature uses a Firebase Installation ID token to: * *

* - *

To delete the Instance ID and the data associated with it, see {@link - * FirebaseInstallationsApi#delete}. + *

To delete the Installation ID and the data associated with it, see {@link}. */ @FirebaseAppScope public class FirebaseInAppMessagingDisplay extends FirebaseInAppMessagingDisplayImpl { diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/Action.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/Action.java index cde51c98f4d..205ff9fa380 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/Action.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/Action.java @@ -67,7 +67,7 @@ private Action(@Nullable String actionUrl, @Nullable Button button) { this.button = button; } - /** Gets URL for action */ + /** Gets the URL associated with this action */ @Nullable public String getActionUrl() { return actionUrl; diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java index 9c184cc4983..fadf4a56c9d 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java @@ -16,7 +16,12 @@ import androidx.annotation.NonNull; -/** Provides the following about any message, */ +/** + * Provides the following about any message, + *

  • Campaign ID + *
  • Campaign Name + *
  • Campaign Test Message State + */ public class CampaignMetadata { private final String campaignId; private final String campaignName; @@ -33,16 +38,19 @@ public CampaignMetadata(String campaignId, String campaignName, boolean isTestMe this.isTestMessage = isTestMessage; } + /** Gets the campaign id associated with this message */ @NonNull public String getCampaignId() { return campaignId; } + /** Gets the campaign name associated with this message */ @NonNull public String getCampaignName() { return campaignName; } + /** returns true if the message is a test message */ public boolean getIsTestMessage() { return isTestMessage; } diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java index 078af58e662..01e9f2d439f 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java @@ -119,7 +119,7 @@ public ImageData getPortraitImageData() { return portraitImageData; } - /** Gets the {@link ImageData} displayed when the phone is in a landcscape orientation */ + /** Gets the {@link ImageData} displayed when the phone is in a landscape orientation */ @Nullable public ImageData getLandscapeImageData() { return landscapeImageData; @@ -148,8 +148,8 @@ public Action getSecondaryAction() { } /** - * @deprecated Use getPrimaryAction() instead. Gets the primary {@link Action} associated with - * this message + * @deprecated This method is deprecated. Use {@link #getPrimaryAction()} or {@link + * #getSecondaryAction()} instead. */ @Nullable @Deprecated @@ -173,8 +173,8 @@ public Text getBody() { } /** - * @deprecated Use getPortraitImageData() instead. Gets the {@link ImageData} associated with this - * message + * @deprecated This method is deprecated. Use {@link #getPortraitImageData()} or {@link + * #getLandscapeImageData()} instead. */ @Nullable @Deprecated diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/ImageData.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/ImageData.java index 92b89f6833b..11ec096a544 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/ImageData.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/ImageData.java @@ -65,11 +65,13 @@ public ImageData(@NonNull String imageUrl, @Nullable Bitmap bitmapData) { this.bitmapData = bitmapData; } + /** Gets the URL associated with this image */ @NonNull public String getImageUrl() { return imageUrl; } + /** Gets the bitmap associated with this image */ @Nullable public Bitmap getBitmapData() { return bitmapData; diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java index 4d5fa1086f9..feafefb174e 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java @@ -70,35 +70,55 @@ public InAppMessage( this.data = data; } - /** @deprecated Use the message specific methods instead. */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Nullable @Deprecated public Text getTitle() { return title; } - /** @deprecated Use the message specific methods (see {@link CardMessage}) instead. */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Nullable @Deprecated public Text getBody() { return body; } - /** @deprecated Use the message specific methods (see {@link CardMessage}) instead. */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Nullable @Deprecated public String getImageUrl() { return imageUrl; } - /** @deprecated Use the message specific methods (see {@link CardMessage}) instead. */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Nullable @Deprecated public ImageData getImageData() { return imageData; } - /** @deprecated Use the message specific methods (see {@link CardMessage}) */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Nullable @Deprecated public Button getActionButton() { @@ -108,33 +128,43 @@ public Button getActionButton() { return actionButton; } - /** @deprecated Use the message specific methods (see {@link CardMessage}) instead. */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Deprecated @Nullable public abstract Action getAction(); - /** @deprecated Use the message specific methods (see {@link CardMessage}) instead. */ + /** + * @deprecated This method is deprecated. Use the message specific methods (see {@link + * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) + * instead. + */ @Nullable @Deprecated public String getBackgroundHexColor() { return backgroundHexColor; } - /** @deprecated Use getCampaignMetadata().getCampaignId() instead. */ + /** @deprecated This method is deprecated. Use getCampaignMetadata().getCampaignId() instead. */ @Nullable @Deprecated public String getCampaignId() { return campaignMetadata.getCampaignId(); } - /** @deprecated Use getCampaignMetadata().getCampaignName() instead. */ + /** @deprecated This method is deprecated. Use getCampaignMetadata().getCampaignName() instead. */ @Nullable @Deprecated public String getCampaignName() { return campaignMetadata.getCampaignName(); } - /** @deprecated Use getCampaignMetadata().getIsTestMessage() instead. */ + /** + * @deprecated This method is deprecated. Use getCampaignMetadata().getIsTestMessage() instead. + */ @Nullable @Deprecated public Boolean getIsTestMessage() { @@ -146,12 +176,17 @@ public Boolean getIsTestMessage() { public MessageType getMessageType() { return messageType; } + /** Gets the {@link CampaignMetadata} of the message */ @Nullable public CampaignMetadata getCampaignMetadata() { return campaignMetadata; } + /** + * Gets the extra data map of the message. This is defined in the Firebase Console for each + * campaign. + */ @Nullable public Map getData() { return data; diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/TriggeredInAppMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/TriggeredInAppMessage.java index 13907bb1381..c20078ba293 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/TriggeredInAppMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/TriggeredInAppMessage.java @@ -25,7 +25,6 @@ public TriggeredInAppMessage(InAppMessage inAppMessage, String triggeringEvent) } public InAppMessage getInAppMessage() { - return inAppMessage; } From 929bcf78347d878aa23acf753261ed8b79b83ef6 Mon Sep 17 00:00:00 2001 From: Jason Heron Date: Fri, 19 Jun 2020 13:49:04 -0700 Subject: [PATCH 2/5] derp --- .../firebase/inappmessaging/model/InAppMessage.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java index feafefb174e..f18751a6ddf 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java @@ -148,14 +148,20 @@ public String getBackgroundHexColor() { return backgroundHexColor; } - /** @deprecated This method is deprecated. Use getCampaignMetadata().getCampaignId() instead. */ + /** + * @deprecated This method is deprecated. Use {@link #getCampaignMetadata()#getCampaignId()} + * instead. + */ @Nullable @Deprecated public String getCampaignId() { return campaignMetadata.getCampaignId(); } - /** @deprecated This method is deprecated. Use getCampaignMetadata().getCampaignName() instead. */ + /** + * @deprecated This method is deprecated. Use {@link #getCampaignMetadata()#getCampaignName()} + * instead. + */ @Nullable @Deprecated public String getCampaignName() { @@ -163,7 +169,8 @@ public String getCampaignName() { } /** - * @deprecated This method is deprecated. Use getCampaignMetadata().getIsTestMessage() instead. + * @deprecated This method is deprecated. Use {@link #getCampaignMetadata()#getIsTestMessage()} + * instead. */ @Nullable @Deprecated From 11a0404b5f9d4b62e4bf3293ec97d7d73a4a6260 Mon Sep 17 00:00:00 2001 From: Jason Heron Date: Fri, 19 Jun 2020 14:02:36 -0700 Subject: [PATCH 3/5] derp again --- .../inappmessaging/display/FirebaseInAppMessagingDisplay.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java b/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java index b4b64fb26f5..682580980cc 100644 --- a/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java +++ b/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java @@ -73,8 +73,6 @@ *
  • fetch messages from the Firebase backend *
  • send usage metrics to the Firebase backend. * - * - *

    To delete the Installation ID and the data associated with it, see {@link}. */ @FirebaseAppScope public class FirebaseInAppMessagingDisplay extends FirebaseInAppMessagingDisplayImpl { From f22c7a4b97a862d661d0346bba9b77cf70bd60af Mon Sep 17 00:00:00 2001 From: Jason Heron Date: Tue, 7 Jul 2020 16:10:10 -0700 Subject: [PATCH 4/5] fixes --- .../FirebaseInAppMessaging.java | 4 ++-- .../model/CampaignMetadata.java | 2 +- .../inappmessaging/model/CardMessage.java | 4 ++-- .../inappmessaging/model/InAppMessage.java | 20 +++++++++---------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/FirebaseInAppMessaging.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/FirebaseInAppMessaging.java index 5aa4a5b04a8..8517350797e 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/FirebaseInAppMessaging.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/FirebaseInAppMessaging.java @@ -37,7 +37,7 @@ * *

    Firebase In-App Messaging will automatically initialize, and start listening for events. * - *

    This feature uses a Firebase Instance ID token to: + *

    This feature uses a Firebase Installation ID token to: * *

    * - *

    To delete the Instance ID and the data associated with it, see {@link + *

    To delete the Installation ID and the data associated with it, see {@link * FirebaseInstallationsApi#delete()}. */ @FirebaseAppScope diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java index fadf4a56c9d..3bbac3af272 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CampaignMetadata.java @@ -50,7 +50,7 @@ public String getCampaignName() { return campaignName; } - /** returns true if the message is a test message */ + /** Returns true if the message is a test message */ public boolean getIsTestMessage() { return isTestMessage; } diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java index 01e9f2d439f..840af18cbb9 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java @@ -148,7 +148,7 @@ public Action getSecondaryAction() { } /** - * @deprecated This method is deprecated. Use {@link #getPrimaryAction()} or {@link + * @deprecated Use {@link #getPrimaryAction()} or {@link * #getSecondaryAction()} instead. */ @Nullable @@ -173,7 +173,7 @@ public Text getBody() { } /** - * @deprecated This method is deprecated. Use {@link #getPortraitImageData()} or {@link + * @deprecated Use {@link #getPortraitImageData()} or {@link * #getLandscapeImageData()} instead. */ @Nullable diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java index f18751a6ddf..0196d0cd85a 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java @@ -71,7 +71,7 @@ public InAppMessage( } /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -82,7 +82,7 @@ public Text getTitle() { } /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -93,7 +93,7 @@ public Text getBody() { } /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -104,7 +104,7 @@ public String getImageUrl() { } /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -115,7 +115,7 @@ public ImageData getImageData() { } /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -129,7 +129,7 @@ public Button getActionButton() { } /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -138,7 +138,7 @@ public Button getActionButton() { public abstract Action getAction(); /** - * @deprecated This method is deprecated. Use the message specific methods (see {@link + * @deprecated Use the message specific methods (see {@link * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) * instead. */ @@ -149,7 +149,7 @@ public String getBackgroundHexColor() { } /** - * @deprecated This method is deprecated. Use {@link #getCampaignMetadata()#getCampaignId()} + * @deprecated Use {@link #getCampaignMetadata()#getCampaignId()} * instead. */ @Nullable @@ -159,7 +159,7 @@ public String getCampaignId() { } /** - * @deprecated This method is deprecated. Use {@link #getCampaignMetadata()#getCampaignName()} + * @deprecated Use {@link #getCampaignMetadata()#getCampaignName()} * instead. */ @Nullable @@ -169,7 +169,7 @@ public String getCampaignName() { } /** - * @deprecated This method is deprecated. Use {@link #getCampaignMetadata()#getIsTestMessage()} + * @deprecated Use {@link #getCampaignMetadata()#getIsTestMessage()} * instead. */ @Nullable From 05b6937eea4e50286859d88bef60ab8ce877aada Mon Sep 17 00:00:00 2001 From: Jason Heron Date: Tue, 7 Jul 2020 16:10:34 -0700 Subject: [PATCH 5/5] format --- .../inappmessaging/model/CardMessage.java | 8 +-- .../inappmessaging/model/InAppMessage.java | 50 +++++++------------ 2 files changed, 19 insertions(+), 39 deletions(-) diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java index 840af18cbb9..a560a8e822a 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/CardMessage.java @@ -147,10 +147,7 @@ public Action getSecondaryAction() { return secondaryAction; } - /** - * @deprecated Use {@link #getPrimaryAction()} or {@link - * #getSecondaryAction()} instead. - */ + /** @deprecated Use {@link #getPrimaryAction()} or {@link #getSecondaryAction()} instead. */ @Nullable @Deprecated @Override @@ -173,8 +170,7 @@ public Text getBody() { } /** - * @deprecated Use {@link #getPortraitImageData()} or {@link - * #getLandscapeImageData()} instead. + * @deprecated Use {@link #getPortraitImageData()} or {@link #getLandscapeImageData()} instead. */ @Nullable @Deprecated diff --git a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java index 0196d0cd85a..b3b06b94fa5 100644 --- a/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java +++ b/firebase-inappmessaging/src/main/java/com/google/firebase/inappmessaging/model/InAppMessage.java @@ -71,9 +71,8 @@ public InAppMessage( } /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Nullable @Deprecated @@ -82,9 +81,8 @@ public Text getTitle() { } /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Nullable @Deprecated @@ -93,9 +91,8 @@ public Text getBody() { } /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Nullable @Deprecated @@ -104,9 +101,8 @@ public String getImageUrl() { } /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Nullable @Deprecated @@ -115,9 +111,8 @@ public ImageData getImageData() { } /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Nullable @Deprecated @@ -129,18 +124,16 @@ public Button getActionButton() { } /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Deprecated @Nullable public abstract Action getAction(); /** - * @deprecated Use the message specific methods (see {@link - * CardMessage}, {@link ModalMessage}, {@link BannerMessage}, {@link ImageOnlyMessage}) - * instead. + * @deprecated Use the message specific methods (see {@link CardMessage}, {@link ModalMessage}, + * {@link BannerMessage}, {@link ImageOnlyMessage}) instead. */ @Nullable @Deprecated @@ -148,30 +141,21 @@ public String getBackgroundHexColor() { return backgroundHexColor; } - /** - * @deprecated Use {@link #getCampaignMetadata()#getCampaignId()} - * instead. - */ + /** @deprecated Use {@link #getCampaignMetadata()#getCampaignId()} instead. */ @Nullable @Deprecated public String getCampaignId() { return campaignMetadata.getCampaignId(); } - /** - * @deprecated Use {@link #getCampaignMetadata()#getCampaignName()} - * instead. - */ + /** @deprecated Use {@link #getCampaignMetadata()#getCampaignName()} instead. */ @Nullable @Deprecated public String getCampaignName() { return campaignMetadata.getCampaignName(); } - /** - * @deprecated Use {@link #getCampaignMetadata()#getIsTestMessage()} - * instead. - */ + /** @deprecated Use {@link #getCampaignMetadata()#getIsTestMessage()} instead. */ @Nullable @Deprecated public Boolean getIsTestMessage() {