Skip to content

Commit 14a4012

Browse files
committed
Add documentation for InlineData class
1 parent d900098 commit 14a4012

File tree

1 file changed

+6
-0
lines changed
  • firebase-ai/src/main/kotlin/com/google/firebase/ai/type

1 file changed

+6
-0
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Part.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ internal constructor(
168168
) : InternalPart
169169
}
170170

171+
172+
/**
173+
* Represents binary data with an associated MIME type.
174+
* @property data the binary data as a [ByteArray]
175+
* @property mimeType an IANA standard MIME type.
176+
*/
171177
public class InlineData(public val data: ByteArray, public val mimeType: String) {
172178
@Serializable internal data class Internal(val mimeType: String, val data: Base64)
173179

0 commit comments

Comments
 (0)