GMSAutocompleteRequest
@interface GMSAutocompleteRequest : NSObject
The request for autocomplete data.
-
The partial text to autocomplete.
Declaration
Swift
var query: String { get set }
Objective-C
@property (nonatomic, copy) NSString *_Nonnull query;
-
The
GMSAutocompleteSessionToken
to associate requests to a billing session.Declaration
Swift
var sessionToken: GMSAutocompleteSessionToken? { get set }
Objective-C
@property (nonatomic, nullable) GMSAutocompleteSessionToken *sessionToken;
-
The
GMSAutocompleteFilter
to apply to the results.Declaration
Swift
var filter: GMSAutocompleteFilter? { get set }
Objective-C
@property (nonatomic, nullable) GMSAutocompleteFilter *filter;
-
Request initializer. *
- - parameter: query The query required for the request.
Declaration
Swift
init(query: String)
Objective-C
- (nonnull instancetype)initWithQuery:(nonnull NSString *)query;
-
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;