-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added api for removing dismiss listener. #4492
Conversation
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html 2023-01-04 20:10:33.533757836 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html 2023-01-04 20:09:14.593211698 +0000
@@ -131,6 +131,13 @@
<tr>
<td width="40%"><code>void</code></td>
<td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html#removeDismissListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener)">removeDismissListener</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessagingDismissListener.html">FirebaseInAppMessagingDismissListener</a> dismissListener<br>)</code></div>
+ <p>Unregisters a dismiss listener.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="40%"><code>void</code></td>
+ <td>
<div><code><a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html#removeDisplayErrorListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDisplayErrorListener)">removeDisplayErrorListener</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessagingDisplayErrorListener.html">FirebaseInAppMessagingDisplayErrorListener</a> displayErrorListener<br>)</code></div>
<p>Unregisters a display error listener.</p>
</td>
@@ -429,6 +436,28 @@
</tr>
</tbody>
</table>
+ </div>
+ </div>
+ <div><a name="removeDismissListener-com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener-"></a><a name="removedismisslistener"></a>
+ <h3 class="api-name" id="removeDismissListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener)">removeDismissListener</h3>
+ <pre class="api-signature no-pretty-print">public void <a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html#removeDismissListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener)">removeDismissListener</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessagingDismissListener.html">FirebaseInAppMessagingDismissListener</a> dismissListener<br>)</pre>
+ <p>Unregisters a dismiss listener.</p>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <thead>
+ <tr>
+ <th colspan="100%">Parameters</th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td width="40%"><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/inappmessaging/FirebaseInAppMessagingDismissListener.html">FirebaseInAppMessagingDismissListener</a> dismissListener</code></td>
+ <td>
+ <p>the listener callback to be removed which was added using addDismissListener</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
<div><a name="removeDisplayErrorListener-com.google.firebase.inappmessaging.FirebaseInAppMessagingDisplayErrorListener-"></a><a name="removedisplayerrorlistener"></a> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html 2023-01-04 20:10:33.557758010 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html 2023-01-04 20:09:14.645212198 +0000
@@ -131,6 +131,13 @@
<tr>
<td width="40%"><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></code></td>
<td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html#removeDismissListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener)">removeDismissListener</a>(<br> dismissListener: <a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessagingDismissListener.html">FirebaseInAppMessagingDismissListener</a><br>)</code></div>
+ <p>Unregisters a dismiss listener.</p>
+ </td>
+ </tr>
+ <tr>
+ <td width="40%"><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></code></td>
+ <td>
<div><code><a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html#removeDisplayErrorListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDisplayErrorListener)">removeDisplayErrorListener</a>(<br> displayErrorListener: <a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessagingDisplayErrorListener.html">FirebaseInAppMessagingDisplayErrorListener</a><br>)</code></div>
<p>Unregisters a display error listener.</p>
</td>
@@ -429,6 +436,28 @@
</tr>
</tbody>
</table>
+ </div>
+ </div>
+ <div><a name="removeDismissListener-com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener-"></a><a name="removedismisslistener"></a>
+ <h3 class="api-name" id="removeDismissListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener)">removeDismissListener</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessaging.html#removeDismissListener(com.google.firebase.inappmessaging.FirebaseInAppMessagingDismissListener)">removeDismissListener</a>(<br> dismissListener: <a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessagingDismissListener.html">FirebaseInAppMessagingDismissListener</a><br>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
+ <p>Unregisters a dismiss listener.</p>
+ <div class="devsite-table-wrapper">
+ <table class="responsive">
+ <thead>
+ <tr>
+ <th colspan="100%">Parameters</th>
+ </tr>
+ </thead>
+ <tbody class="list">
+ <tr>
+ <td width="40%"><code>dismissListener: <a href="/docs/reference/kotlin/com/google/firebase/inappmessaging/FirebaseInAppMessagingDismissListener.html">FirebaseInAppMessagingDismissListener</a></code></td>
+ <td>
+ <p>the listener callback to be removed which was added using addDismissListener</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
<div><a name="removeDisplayErrorListener-com.google.firebase.inappmessaging.FirebaseInAppMessagingDisplayErrorListener-"></a><a name="removedisplayerrorlistener"></a> |
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
...-inappmessaging/src/main/java/com/google/firebase/inappmessaging/FirebaseInAppMessaging.java
Outdated
Show resolved
Hide resolved
...ging/src/main/java/com/google/firebase/inappmessaging/internal/DeveloperListenerManager.java
Show resolved
Hide resolved
The public api surface has changed for the subproject firebase-inappmessaging: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
The public api surface has changed for the subproject firebase-inappmessaging: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
The public api surface has changed for the subproject firebase-inappmessaging: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
Don't forget to update your
and update the SDK |
Done..Please check the version update is correct. Thanks. |
Added api for removing dismiss listener.
Added api for removing dismiss listener.
Motivational PR: #3980
Approved API Review: b/262402247