Android 4.0 के लिए Places SDK टूल में, जगह के डेटा के नए फ़ील्ड पर माइग्रेट करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android के लिए Places SDK टूल के 4.0 वर्शन में, जगह के डेटा फ़ील्ड (Place.Field) में कई बदलाव हुए हैं. पुराने फ़ील्ड बंद कर दिए गए हैं. हालांकि, ये Google Maps Platform की सेवा की शर्तों के मुताबिक, हटाए जाने तक काम करते रहेंगे. हालांकि, जिन ऐप्लिकेशन में इस्तेमाल नहीं किए जाने वाले फ़ील्ड शामिल हैं उन्हें बिल्ड करने पर चेतावनियां दिखेंगी. इसके अलावा, वर्शन 4.0 में जगह के डेटा के नए फ़ील्ड जोड़े गए हैं. नीचे दिए गए सेक्शन में, फ़ील्ड में हुए बदलावों और नए फ़ील्ड के बारे में जानकारी दी गई है. साथ ही, फ़ील्ड के इस्तेमाल, बिलिंग, और कीमत के बारे में भी बताया गया है.
वर्शन 4.0 में फ़ील्ड में हुए बदलाव और बंद किए गए फ़ील्ड
नीचे दी गई टेबल में, इस्तेमाल नहीं किए जा रहे फ़ील्ड और उनके बदले इस्तेमाल किए जा सकने वाले फ़ील्ड की सूची दी गई है:
काम न करने वाला फ़ील्ड
नया फ़ील्ड
Place.Field.ADDRESS
Place.Field.FORMATTED_ADDRESS
Place.Field.ICON_URL
Place.Field.ICON_MASK_URL
Place.Field.LAT_LNG
Place.Field.LOCATION
Place.Field.NAME
Place.Field.DISPLAY_NAME
Place.Field.PHONE_NUMBER
Place.Field.INTERNATIONAL_PHONE_NUMBER
Place.Field.USER_RATINGS_TOTAL
Place.Field.USER_RATING_COUNT
Place.Field.WHEELCHAIR_ACCESSIBLE_ENTRANCE
Place.Field.ACCESSIBILITY_OPTIONS
वर्शन 4.0 में जोड़े गए नए फ़ील्ड
Places SDK for Android के वर्शन 4.0 में, जगह के डेटा के ये फ़ील्ड जोड़े गए हैं:
Place.Field.ACCESSIBILITY_OPTIONS
Place.Field.ADR_FORMAT_ADDRESS
Place.Field.ALLOWS_DOGS
Place.Field.CURRENT_SECONDARY_OPENING_HOURS
Place.Field.EV_CHARGE_OPTIONS
Place.Field.FUEL_OPTIONS
Place.Field.GOOD_FOR_CHILDREN
Place.Field.GOOD_FOR_GROUPS
Place.Field.GOOD_FOR_WATCHING_SPORTS
Place.Field.GOOGLE_MAPS_URI
Place.Field.LIVE_MUSIC
Place.Field.MENU_FOR_CHILDREN
Place.Field.NATIONAL_PHONE_NUMBER
Place.Field.OUTDOOR_SEATING
Place.Field.PARKING_OPTIONS
Place.Field.PAYMENT_OPTIONS
Place.Field.PRIMARY_TYPE_DISPLAY_NAME
Place.Field.RESOURCE_NAME
Place.Field.RESTROOM
Place.Field.SERVES_COCKTAILS
Place.Field.SERVES_COFFEE
Place.Field.SERVES_DESSERT
Place.Field.SHORT_FORMATTED_ADDRESS
Place.Field.SUB_DESTINATIONS
डेटा फ़ील्ड का इस्तेमाल, बिलिंग, और कीमत
फ़ील्ड मास्क बनाने के लिए, जगह की जानकारी वाले फ़ील्ड का इस्तेमाल करने के बारे में ज़्यादा जानने के लिए, यहां दिए गए संसाधन देखें. साथ ही, हर फ़ील्ड और उससे जुड़े SKU के लिए बिलिंग और कीमत तय करने के बारे में भी जानें:
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया."],[[["Version 4.0 of the Places SDK for Android introduces new Place data fields and deprecates old ones, requiring updates to avoid build warnings and ensure future compatibility."],["Deprecated fields, such as `Place.Field.ADDRESS` and `Place.Field.LAT_LNG`, have been replaced with new fields like `Place.Field.FORMATTED_ADDRESS` and `Place.Field.LOCATION` respectively."],["A significant number of new Place data fields have been added in version 4.0, including options for accessibility, amenities, and operational details."],["Developers should consult the provided resources for details on using Place data fields, understanding billing implications, and accessing pricing information for each field."]]],["Version 4.0 of the Places SDK for Android introduced changes to Place data fields. Seven fields were deprecated, such as `ADDRESS` replaced by `FORMATTED_ADDRESS`, and `NAME` replaced by `DISPLAY_NAME`. Twenty-four new fields were added, including `ACCESSIBILITY_OPTIONS`, `FUEL_OPTIONS`, `PAYMENT_OPTIONS`, and `RESOURCE_NAME`. Deprecated fields will still function until removal, but will generate build warnings. Changes impact both Places SDK and Places SDK (New). For usage, billing, and pricing information refer to linked documentation.\n"]]