@@ -225,7 +225,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
225225 @param alias The alias for a link.
226226 @warning This can fail if the alias is already taken.
227227 */
228- + (BranchActivityItemProvider *)getBranchActivityItemWithParams : (NSDictionary *)params feature : (NSString *)feature stage : (NSString *)stage campaign : (NSString *)campmaign tags : (NSArray *)tags alias : (NSString *)alias ;
228+ + (BranchActivityItemProvider *)getBranchActivityItemWithParams : (NSDictionary *)params feature : (NSString *)feature stage : (NSString *)stage campaign : (NSString *)campaign tags : (NSArray *)tags alias : (NSString *)alias ;
229229
230230/* *
231231 Create a BranchActivityItemProvider which subclasses the `UIActivityItemProvider` This can be used for simple sharing via a `UIActivityViewController`.
@@ -388,14 +388,14 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
388388/* *
389389 Add a scheme to a whitelist of URI schemes that will be tracked by Branch. Default to all schemes.
390390
391- @param the scheme to add to the whitelist, i.e. @"http", @"https" or @"myapp"
391+ @param scheme to add to the whitelist, i.e. @"http", @"https" or @"myapp"
392392 */
393393-(void )addWhiteListedScheme : (NSString *)scheme ;
394394
395395/* *
396396 Add an array of schemes to a whitelist of URI schemes that will be tracked by Branch. Default to all schemes.
397397
398- @param the array of schemes to add to the whitelist, i.e. @[@"http", @"https", @"myapp"]
398+ @param schemes array to add to the whitelist, i.e. @[@"http", @"https", @"myapp"]
399399 */
400400-(void )setWhiteListedSchemes : (NSArray *)schemes ;
401401
@@ -739,7 +739,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
739739 @param channel The channel for the link. Examples could be Facebook, Twitter, SMS, etc, depending on where it will be shared.
740740 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
741741 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
742- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
742+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
743743 @warning This method makes a synchronous url request.
744744 */
745745- (NSString *)getShortURLWithParams : (NSDictionary *)params andChannel : (NSString *)channel andFeature : (NSString *)feature andStage : (NSString *)stage andMatchDuration : (NSUInteger )duration ;
@@ -825,7 +825,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
825825 @param channel The channel for the link. Examples could be Facebook, Twitter, SMS, etc, depending on where it will be shared.
826826 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
827827 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
828- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
828+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
829829 @warning This method makes a synchronous url request.
830830 */
831831- (NSString *)getShortURLWithParams : (NSDictionary *)params andTags : (NSArray *)tags andChannel : (NSString *)channel andFeature : (NSString *)feature andStage : (NSString *)stage andMatchDuration : (NSUInteger )duration ;
@@ -839,7 +839,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
839839 @param channel The channel for the link. Examples could be Facebook, Twitter, SMS, etc, depending on where it will be shared.
840840 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
841841 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
842- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
842+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
843843 @warning This method makes a synchronous url request.
844844 @warning This can fail if the alias is already taken.
845845 */
@@ -856,7 +856,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
856856 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
857857 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
858858 @param campaign Use this field to organize the links by actual marketing campaign.
859- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
859+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
860860 @warning This method makes a synchronous url request.
861861 */
862862- (NSString *)getShortUrlWithParams : (NSDictionary *)params andTags : (NSArray *)tags andAlias : (NSString *)alias andChannel : (NSString *)channel andFeature : (NSString *)feature andStage : (NSString *)stage andCampaign :campaign andMatchDuration : (NSUInteger )duration ;
@@ -999,7 +999,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
999999 @param channel The channel for the link. Examples could be Facebook, Twitter, SMS, etc, depending on where it will be shared.
10001000 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
10011001 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
1002- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
1002+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
10031003 @param callback Callback called with the url.
10041004 */
10051005- (void )getShortURLWithParams : (NSDictionary *)params andChannel : (NSString *)channel andFeature : (NSString *)feature andStage : (NSString *)stage andMatchDuration : (NSUInteger )duration andCallback : (callbackWithUrl)callback ;
@@ -1051,7 +1051,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
10511051 @param tags An array of tags to associate with this link, useful for tracking.
10521052 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
10531053 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
1054- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
1054+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
10551055 @param callback Callback called with the url.
10561056 */
10571057- (void )getShortURLWithParams : (NSDictionary *)params andTags : (NSArray *)tags andChannel : (NSString *)channel andFeature : (NSString *)feature andStage : (NSString *)stage andMatchDuration : (NSUInteger )duration andCallback : (callbackWithUrl)callback ;
@@ -1064,7 +1064,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
10641064 @param tags An array of tags to associate with this link, useful for tracking.
10651065 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
10661066 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
1067- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
1067+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
10681068 @param callback Callback called with the url.
10691069 @param alias The alias for a link.
10701070 @warning This can fail if the alias is already taken.
@@ -1079,7 +1079,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
10791079 @param tags An array of tags to associate with this link, useful for tracking.
10801080 @param feature The feature this is utilizing. Examples could be Sharing, Referring, Inviting, etc.
10811081 @param stage The stage used for the generated link, indicating what part of a funnel the user is in.
1082- @param matchDuration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
1082+ @param duration How long to keep an unmatched link click in the Branch backend server's queue before discarding.
10831083 @param campaign Use this field to organize the links by actual marketing campaign.
10841084 @param callback Callback called with the url.
10851085 @param alias The alias for a link.
@@ -1210,9 +1210,8 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
12101210 @param title Title for the spotlight preview item.
12111211 @param description Description for the spotlight preview item.
12121212 @param thumbnailUrl Url to an image to be used for the thumnbail in spotlight.
1213- @param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
12141213 @param publiclyIndexable Whether or not this item should be added to Apple's public search index.
1215- @param keywords A set of keywords to be used in Apple's search index.
1214+ @param linkParams A set of keywords to be used in Apple's search index.
12161215 @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
12171216 */
12181217- (void )createDiscoverableContentWithTitle : (NSString *)title description : (NSString *)description thumbnailUrl : (NSURL *)thumbnailUrl linkParams : (NSDictionary *)linkParams publiclyIndexable : (BOOL )publiclyIndexable ;
@@ -1259,7 +1258,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
12591258 @param type The type to use for the NSUserActivity, taken from the list of constants provided in the MobileCoreServices framework.
12601259 @param keywords A set of keywords to be used in Apple's search index.
12611260 @param expirationDate ExpirationDate after which this will not appear in Apple's search index.
1262- @param callback Callback called with the Branch url this will fallback to.
1261+ @param spotlightCallback Callback called with the Branch url this will fallback to.
12631262 @warning These functions are only usable on iOS 9 or above. Earlier versions will simply receive the callback with an error.
12641263 */
12651264- (void )createDiscoverableContentWithTitle : (NSString *)title description : (NSString *)description thumbnailUrl : (NSURL *)thumbnailUrl linkParams : (NSDictionary *)linkParams type : (NSString *)type publiclyIndexable : (BOOL )publiclyIndexable keywords : (NSSet *)keywords expirationDate : (NSDate *)expirationDate spotlightCallback : (callbackWithUrlAndSpotlightIdentifier)spotlightCallback ;
0 commit comments