[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-24 UTC."],[],[],null,["# Firebase.AI.ModelContent.InlineDataPart Struct Reference\n\nFirebase.AI.ModelContent.InlineDataPart\n=======================================\n\nData with a specified media type.\n\nSummary\n-------\n\nNote: Not all media types may be supported by the [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) model.\n\n### Inheritance\n\nInherits from: [Firebase.AI.ModelContent.Part](/docs/reference/unity/interface/firebase/a-i/model-content/part)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [InlineDataPart](#struct_firebase_1_1_a_i_1_1_model_content_1_1_inline_data_part_1a43e09adae06aeaf9a3a357f1262b2834)`(string mimeType, byte[] data)` Creates an [InlineDataPart](/docs/reference/unity/struct/firebase/a-i/model-content/inline-data-part#struct_firebase_1_1_a_i_1_1_model_content_1_1_inline_data_part) from data and a MIME type. ||\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|\n| [Data](#struct_firebase_1_1_a_i_1_1_model_content_1_1_inline_data_part_1ae22274e17a7b296e64ae45a4d75ebfbb) | `byte[]` The data provided in the inline data part. |\n| [MimeType](#struct_firebase_1_1_a_i_1_1_model_content_1_1_inline_data_part_1aa7070431d458d0c2ffd3a37c8cec0fd8) | `string` The IANA standard MIME type of the data. |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [ToJson](#struct_firebase_1_1_a_i_1_1_model_content_1_1_inline_data_part_1a09892d303eaa2443121a1f06c220a7dd)`()` | `Dictionary\u003c string, object \u003e Part.` |\n\nProperties\n----------\n\n### Data\n\n```c#\nbyte[] Firebase::AI::ModelContent::InlineDataPart::Data\n``` \nThe data provided in the inline data part. \n\n### MimeType\n\n```c#\nstring Firebase::AI::ModelContent::InlineDataPart::MimeType\n``` \nThe IANA standard MIME type of the data.\n\nPublic functions\n----------------\n\n### InlineDataPart\n\n```c#\n Firebase::AI::ModelContent::InlineDataPart::InlineDataPart(\n string mimeType,\n byte[] data\n)\n``` \nCreates an [InlineDataPart](/docs/reference/unity/struct/firebase/a-i/model-content/inline-data-part#struct_firebase_1_1_a_i_1_1_model_content_1_1_inline_data_part) from data and a MIME type.\n\nImportant: Supported input types depend on the model on the model being used; see \\[input files and requirements\\](\u003chttps://firebase.google.com/docs/vertex-ai/input-file-requirements\u003e) for more details.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `mimeType` | The IANA standard MIME type of the data, for example, `\"image/jpeg\"` or `\"video/mp4\"`; see [input files and requirements](https://firebase.google.com/docs/vertex-ai/input-file-requirements) for supported values. | | `data` | The data representation of an image, video, audio or document; see [input files and requirements](https://firebase.google.com/docs/vertex-ai/input-file-requirements) for supported media types. | |\n\n### ToJson\n\n```c#\nDictionary\u003c string, object \u003e Part. Firebase::AI::ModelContent::InlineDataPart::ToJson()\n```"]]