[[["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-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eArImageMetadata_rational\u003c/code\u003e defines a rational data type used within ARCore's image metadata entries, similar to Android's \u003ccode\u003eACameraMetadata_rational\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis structure includes two attributes: \u003ccode\u003enumerator\u003c/code\u003e and \u003ccode\u003edenominator\u003c/code\u003e, both represented as 32-bit integers, to express a rational number.\u003c/p\u003e\n"],["\u003cp\u003eThe structure is used within the \u003ccode\u003eArImageMetadata_const_entry\u003c/code\u003e to provide detailed information about an image's properties.\u003c/p\u003e\n"]]],["The `ArImageMetadata_rational` structure, defined in `arcore_c_api.h`, represents rational data within image metadata, aligning with Android NDK r21's `ACameraMetadata_rational`. It consists of two key components: `denominator`, an `int32_t` representing the denominator, and `numerator`, also an `int32_t`, representing the numerator. These attributes define the rational value of a specific metadata entry. This struct is used with `ArImageMetadata_const_entry` to handle image metadata.\n"],null,["# ArImageMetadata_rational Struct Reference\n\nArImageMetadata_rational\n========================\n\n`#include \u003carcore_c_api.h\u003e`\n\nDefines a rational data type in [ArImageMetadata_const_entry](/ar/reference/c/struct/ar-image-metadata-const-entry#struct_ar_image_metadata__const__entry).\n\nStruct matches `ACameraMetadata_rational` in Android NDK r21.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------|-------------------------------------------------------------------------|\n| [denominator](#denominator) | `int32_t` Denominator in the rational data type of this metadata entry. |\n| [numerator](#numerator) | `int32_t` Numerator in the rational data type of this metadata entry. |\n\nPublic attributes\n-----------------\n\n### denominator\n\n```scdoc\nint32_t ArImageMetadata_rational::denominator\n``` \nDenominator in the rational data type of this metadata entry. \n\n### numerator\n\n```scdoc\nint32_t ArImageMetadata_rational::numerator\n``` \nNumerator in the rational data type of this metadata entry."]]