Overview
Options for displaying terms and conditions.
Public Member Functions | |
(instancetype) | - initWithCompanyName: |
Properties | |
NSString * | companyName |
Default init is not available. | |
NSString * | title |
Title of the dialog box. | |
BOOL | shouldOnlyShowDriverAwarenessDialog |
Indicates if -showTermsAndConditionsDialogIfNeededWithOptions :callback: should display the driver awareness disclaimer only. | |
GMSNavigationTermsDialogUIParams * | uiParams |
Parameters defining the look and feel of the dialog box. |
Member Function Documentation
- (instancetype) initWithCompanyName: | (NSString *) | companyName |
Property Documentation
- (NSString*) companyName [read, write, copy] |
Default init is not available.
Please use the designated initializer. Name of the company releasing the app and in the agreement with Google to share location data.
- (NSString*) title [read, write, copy] |
Title of the dialog box.
If title
is nil, the dialog uses the default title.
- Note:
- For custom titles, the caller of this method needs to localize this parameter The default title is localized by the services automatically.
- (BOOL) shouldOnlyShowDriverAwarenessDialog [read, write, assign] |
Indicates if -showTermsAndConditionsDialogIfNeededWithOptions
:callback: should display the driver awareness disclaimer only.
The default is NO
and the disclaimer is shown in addition to the default terms and services provided with the Navigation SDK. Set to YES
to indicate that only the driver awareness disclaimer should be shown.
If the project must show the Terms and Conditions dialog, setting this variable to YES
has no effect.
- (GMSNavigationTermsDialogUIParams*) uiParams [read, write, assign] |
Parameters defining the look and feel of the dialog box.
If nil, the dialog box uses the default look and feel.