SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
SearchContents
@interface SearchContents : NSObject
A collection of search content block data
-
The set of search content blocks ready to be displayed
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSArray<SearchContentBlockData *> *_Nonnull searchContentBlocks;
-
Request additional content (if available) using the same options as the original request.
returns:
An array containing the additional search content.
Declaration
Objective-C
- (void)loadMoreContentsWithCompletionHandler:
(void (^_Nonnull)(NSArray<SearchContentBlockData *> *_Nullable,
NSError *_Nullable))completionHandler;
-
Declaration
Objective-C
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
-
Unavailable
-init is unavailable
Declaration
Objective-C
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
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-11-07 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-11-07 UTC."],[[["`SearchContents` stores and manages a collection of search content blocks for display."],["It provides a method (`loadMoreContentsWithCompletionHandler:`) to fetch and append additional search content if available."],["Initializing `SearchContents` directly using `init` or `new` is unavailable; its creation and initialization are likely handled internally or via a designated factory method."]]],["`SearchContents` manages a collection of search content blocks. It provides an array, `searchContentBlocks`, that contains the data ready for display. Additional content can be requested using `loadMoreContentsWithCompletionHandler:`, which provides more search content. The `init` and `new` methods are unavailable, restricting direct instantiation. This object is designed to handle and provide search data.\n"]]