AI-generated Key Takeaways
-
GetTrendingSearchesOptions
object stores parameters for fetching trending searches. -
It allows specifying a different client ID for the request if needed.
-
Users can set a maximum number of trends to be returned or get all by default.
-
The class provides an initializer to create instances of the options object.
GetTrendingSearchesOptions
@interface GetTrendingSearchesOptions : NSObject
This class contains all the options necessary to request trending searches.
-
The client ID used to request trends if it is different from the client ID specified in Info.plist.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nullable clientId;
-
The max number of trends returned. If not set, the api server will return all the trends returned from the hot trends server.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable maxNumTrends;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;