AlbumPosition
किसी एल्बम में कोई स्थिति बताता है.
JSON के काेड में दिखाना |
{
"position": enum (PositionType ),
// Union field relative_item can be only one of the following:
"relativeMediaItemId": string,
"relativeEnrichmentItemId": string
// End of list of possible types for union field relative_item .
} |
फ़ील्ड |
position |
enum (PositionType )
मीडिया या बेहतर आइटम के लिए, पोज़िशन किस तरह की है.
|
यूनियन फ़ील्ड relative_item . वह आइटम जिससे पोज़िशन की जानकारी मिलती है. इसे सिर्फ़ तब सेट करना चाहिए, जब पोज़िशन टाइप AFTER_MEDIA_ITEM या AFTER_ENRICHMENT_ITEM का इस्तेमाल किया जा रहा हो. relative_item इनमें से कोई एक हो सकता है: |
relativeMediaItemId |
string
वह मीडिया आइटम जिससे जगह की जानकारी जुड़ी है. इसका इस्तेमाल सिर्फ़ तब किया जाता है, जब स्थिति का टाइप बाद_MEDIA_ITEM होता है.
|
relativeEnrichmentItemId |
string
वह बेहतर आइटम जिससे स्थिति जुड़ी है. इसका इस्तेमाल सिर्फ़ तब किया जाता है, जब स्थिति का टाइप बाद_ENRICHMENT_ITEM होता है.
|
PositionType
Enums |
POSITION_TYPE_UNSPECIFIED |
अगर इस ईनम को सेट नहीं किया गया है, तो डिफ़ॉल्ट वैल्यू. |
FIRST_IN_ALBUM |
एल्बम की शुरुआत में. |
LAST_IN_ALBUM |
एल्बम के आखिर में. |
AFTER_MEDIA_ITEM |
मीडिया आइटम के बाद. |
AFTER_ENRICHMENT_ITEM |
बेहतर बनाने वाले आइटम के बाद. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["`AlbumPosition` defines the position of media or enrichment items within a Google Photos album."],["It offers five position types: `POSITION_TYPE_UNSPECIFIED`, `FIRST_IN_ALBUM`, `LAST_IN_ALBUM`, `AFTER_MEDIA_ITEM`, and `AFTER_ENRICHMENT_ITEM`."],["For positions relative to other items (`AFTER_MEDIA_ITEM`, `AFTER_ENRICHMENT_ITEM`), you must specify the ID of the relative media or enrichment item."],["The JSON representation includes the `position` type and, if necessary, the ID of the relative item (`relativeMediaItemId` or `relativeEnrichmentItemId`)."]]],["The content defines how to specify a position within an album using a JSON structure. It uses a `position` field with an enumerated type (`PositionType`) that can be `FIRST_IN_ALBUM`, `LAST_IN_ALBUM`, `AFTER_MEDIA_ITEM`, or `AFTER_ENRICHMENT_ITEM`. If positioning after an item, either `relativeMediaItemId` or `relativeEnrichmentItemId` must be specified in the `relative_item` union field to identify the referenced media or enrichment item.\n"]]