Send feedback
GMSNavigationLicensePlateRestriction Class Reference
Stay organized with collections
Save and categorize content based on your preferences.
Overview
A class contains information for license plate restriction.
It mantains the state of vehicle's license plate information and restriction.
Public Member Functions
(nullable instancetype) - initWithLicensePlateLastDigit:countryCode:
Initializes a license plate restriction object.
Properties
NSString * countryCode
Returns the country code for license plate restriction set by a user.
NSInteger lastDigit
Returns the last digit of vehicle's license plate number.
Member Function Documentation
- (nullable instancetype) initWithLicensePlateLastDigit:
(NSInteger)
lastDigit
countryCode:
(NSString *)
countryCode
Initializes a license plate restriction object.
Set license plate restriction with current vehicle's last digit of license plate and country code. This allows us to route around certain types of road restrictions which are based on license plate number.
Returns nil if license plate's last digit or country code is invalid.
Parameters:
lastDigit the last digit of the current vehicle's license plate. This value must be between 0 and 9.
countryCode the country code of the current vehicle's license plate. Currently Indonesia (ID) and Brazil (BZ) are supported.
Property Documentation
Returns the country code for license plate restriction set by a user.
Defaults to empty string.
Returns the last digit of vehicle's license plate number.
Defaults to -1.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-18 UTC."}
[[["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 2024-09-18 UTC."]]