RouteTravelMode
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यात्रा का मोड तय करने के लिए, इस्तेमाल की जाने वाली वैल्यू का सेट. ध्यान दें: WALK
, BICYCLE
, और TWO_WHEELER
रास्ते बीटा वर्शन में हैं. शायद इनमें कभी-कभी पैदल चलने के रास्ते, पैदल चलने के लिए बने रास्ते या साइकल चलाने के रास्ते न हों. उपयोगकर्ता को अपने ऐप्लिकेशन में दिखाए जाने वाले सभी पैदल, साइकिल, और दोपहिया रास्तों के लिए, आपको यह चेतावनी दिखानी होगी.
Enums |
TRAVEL_MODE_UNSPECIFIED |
यात्रा का कोई मोड तय नहीं किया गया है. डिफ़ॉल्ट वैल्यू DRIVE होती है. |
DRIVE |
यात्री कार से यात्रा करें. |
BICYCLE |
साइकल से यात्रा करें. |
WALK |
पैदल चलना. |
TWO_WHEELER |
दोपहिया वाहन, मोटर वाहन. उदाहरण के लिए, मोटरसाइकल. ध्यान दें कि यह BICYCLE के यात्रा मोड से अलग है, जो मैन्युअल मोड पर काम करता है. |
TRANSIT |
जहां भी उपलब्ध हो, सार्वजनिक परिवहन के साधनों का इस्तेमाल करके यात्रा करें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eTravel modes include driving, bicycling, walking, two-wheeled vehicles, and transit, with driving as the default if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eWalking, bicycling, and two-wheeler routes are in beta and may have incomplete pedestrian or cycling paths, requiring a user warning.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTWO_WHEELER\u003c/code\u003e refers to motorized two-wheelers like motorcycles, distinct from the human-powered \u003ccode\u003eBICYCLE\u003c/code\u003e mode.\u003c/p\u003e\n"]]],["The content defines travel modes, including `DRIVE`, `BICYCLE`, `WALK`, `TWO_WHEELER`, and `TRANSIT`. `WALK`, `BICYCLE`, and `TWO_WHEELER` are in beta and may lack clear paths, requiring a warning display to users. `TRAVEL_MODE_UNSPECIFIED` defaults to `DRIVE`. `TWO_WHEELER` refers to motorized two-wheeled vehicles, distinguishing it from human-powered `BICYCLE` travel. Each mode specifies the means of travel.\n"],null,["# RouteTravelMode\n\nA set of values used to specify the mode of travel. NOTE: `WALK`, `BICYCLE`, and `TWO_WHEELER` routes are in beta and might sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths. You must display this warning to the user for all walking, bicycling, and two-wheel routes that you display in your app.\n\n| Enums ||\n|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `TRAVEL_MODE_UNSPECIFIED` | No travel mode specified. Defaults to `DRIVE`. |\n| `DRIVE` | Travel by passenger car. |\n| `BICYCLE` | Travel by bicycle. |\n| `WALK` | Travel by walking. |\n| `TWO_WHEELER` | Two-wheeled, motorized vehicle. For example, motorcycle. Note that this differs from the `BICYCLE` travel mode which covers human-powered mode. |\n| `TRANSIT` | Travel by public transit routes, where available. |"]]