-
Notifications
You must be signed in to change notification settings - Fork 584
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
Add a kotlin method for recording an exception with custom keys #6546
Conversation
…ssionReportingCoordinatorTest
Vertex AI Mock Responses Check
|
Generated by 🚫 Danger |
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html 2024-12-05 21:09:32.562331189 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html 2024-12-05 21:06:58.594928442 +0000
@@ -178,6 +178,13 @@
<tr>
<td><code>final void</code></td>
<td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> throwable,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</code></div>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>final void</code></td>
+ <td>
<div><code><a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</code></div>
<p>Associates all key-value parameters with the reports</p>
</td>
@@ -719,6 +726,11 @@
</div>
<div class="list">
<h2>Extension functions</h2>
+ <div class="api-item"><a name="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable, kotlin.Function1)"></a><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.recordException-kotlin.Throwable-kotlin.Function1-"></a><a name="recordexception"></a>
+ <h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">FirebaseCrashlyticsKt.recordException</h3>
+ <pre class="api-signature no-pretty-print">public final void <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> throwable,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</pre>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.setCustomKeys-kotlin.Function1-"></a><a name="setcustomkeys"></a>
<h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">FirebaseCrashlyticsKt.setCustomKeys</h3>
<pre class="api-signature no-pretty-print">public final void <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html 2024-12-05 21:09:32.562331189 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html 2024-12-05 21:06:58.594928442 +0000
@@ -48,6 +48,13 @@
<tr>
<td><code>static final void</code></td>
<td>
+ <div><code><a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> throwable,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</code></div>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code>static final void</code></td>
+ <td>
<div><code><a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</code></div>
<p>Associates all key-value parameters with the reports</p>
</td>
@@ -65,6 +72,11 @@
</div>
<div class="list">
<h2>Public methods</h2>
+ <div class="api-item"><a name="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable, kotlin.Function1)"></a><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.recordException-kotlin.Throwable-kotlin.Function1-"></a><a name="recordexception"></a>
+ <h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">FirebaseCrashlyticsKt.recordException</h3>
+ <pre class="api-signature no-pretty-print">public static final void <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Throwable.html">Throwable</a> throwable,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</pre>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.setCustomKeys-kotlin.Function1-"></a><a name="setcustomkeys"></a>
<h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">FirebaseCrashlyticsKt.setCustomKeys</h3>
<pre class="api-signature no-pretty-print">public static final void <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html">FirebaseCrashlyticsKt</a>.<a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlyticsKt.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(<br> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a> receiver,<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> Function1<@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>> init<br>)</pre> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/crashlytics/KeyValueBuilder.html 2024-12-05 21:09:32.562331189 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/crashlytics/KeyValueBuilder.html 2024-12-05 21:06:58.594928442 +0000
@@ -11,7 +11,7 @@
<pre>public final class <a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a></pre>
</p>
<hr>
- <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/android/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code></p>
+ <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/android/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code> and <code><a href="/docs/reference/android/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a></code></p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive"> --- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/crashlytics/package-summary.html 2024-12-05 21:09:32.562331189 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/crashlytics/package-summary.html 2024-12-05 21:06:58.594928442 +0000
@@ -37,7 +37,7 @@
<tr>
<td><code><a href="/docs/reference/android/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a></code></td>
<td>
- <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/android/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code></p>
+ <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/android/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code> and <code><a href="/docs/reference/android/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a></code></p>
</td>
</tr>
</tbody> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html 2024-12-05 21:09:32.554331219 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html 2024-12-05 21:06:58.594928442 +0000
@@ -178,6 +178,13 @@
<tr>
<td><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/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> throwable: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>,<br> init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><br>)</code></div>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </td>
+ </tr>
+ <tr>
+ <td><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/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
<p>Associates all key-value parameters with the reports</p>
</td>
@@ -719,6 +726,11 @@
</div>
<div class="list">
<h2>Extension functions</h2>
+ <div class="api-item"><a name="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable, kotlin.Function1)"></a><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.recordException-kotlin.Throwable-kotlin.Function1-"></a><a name="recordexception"></a>
+ <h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> throwable: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>,<br> init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><br>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.setCustomKeys-kotlin.Function1-"></a><a name="setcustomkeys"></a>
<h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html 2024-12-05 21:09:32.554331219 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html 2024-12-05 21:06:58.594928442 +0000
@@ -11,7 +11,7 @@
<pre>class <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a></pre>
</p>
<hr>
- <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code></p>
+ <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a></code></p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive"> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/crashlytics/package-summary.html 2024-12-05 21:09:32.554331219 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/crashlytics/package-summary.html 2024-12-05 21:06:58.594928442 +0000
@@ -33,7 +33,7 @@
<tr>
<td><code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a></code></td>
<td>
- <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code></p>
+ <p>Helper class to enable convenient syntax in <code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a></code> and <code><a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a></code></p>
</td>
</tr>
</tbody>
@@ -50,6 +50,13 @@
<tr>
<td><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/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> throwable: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>,<br> init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><br>)</code></div>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </td>
+ </tr>
+ <tr>
+ <td><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/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
<p>Associates all key-value parameters with the reports</p>
</td>
@@ -76,6 +83,11 @@
</table>
</div>
<h2>Extension functions</h2>
+ <div class="api-item"><a name="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable, kotlin.Function1)"></a><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.recordException-kotlin.Throwable-kotlin.Function1-"></a><a name="recordexception"></a>
+ <h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).recordException(kotlin.Throwable,kotlin.Function1)">recordException</a>(<br> throwable: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>,<br> init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><br>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
+ <p>Records a non-fatal report to send to Crashlytics with additional custom keys</p>
+ </div>
<div class="api-item"><a name="-com.google.firebase.crashlytics.FirebaseCrashlytics-.setCustomKeys-kotlin.Function1-"></a><a name="setcustomkeys"></a>
<h3 class="api-name" id="(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</h3>
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/FirebaseCrashlytics.html">FirebaseCrashlytics</a>.<a href="/docs/reference/kotlin/com/google/firebase/crashlytics/package-summary.html#(com.google.firebase.crashlytics.FirebaseCrashlytics).setCustomKeys(kotlin.Function1)">setCustomKeys</a>(init: <a href="/docs/reference/kotlin/com/google/firebase/crashlytics/KeyValueBuilder.html">KeyValueBuilder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre> |
Coverage Report 1Affected Products
Test Logs |
The public api surface has changed for the subproject firebase-crashlytics: 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-crashlytics: 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. |
1 similar comment
The public api surface has changed for the subproject firebase-crashlytics: 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-crashlytics: 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. |
1 similar comment
The public api surface has changed for the subproject firebase-crashlytics: 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. |
Size Report 1Affected Products
Test Logs |
The public api surface has changed for the subproject firebase-crashlytics: 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. |
No description provided.