Exemple #1
0
        public override void GetShortUrl(IBranchUrlInterface callback,
                                         Dictionary <String, dynamic> parameters = null,
                                         string channel            = "",
                                         string stage              = "",
                                         ICollection <String> tags = null,
                                         string feature            = "",
                                         int duration              = 0)
        {
            BranchUrlListener obj = new BranchUrlListener(callback);

            callbacksList.Add(obj as Object);

            NativeBranch.GetShortUrlWithParams(BranchIOSUtils.ToNSDictionary(parameters),
                                               BranchIOSUtils.ToNSObjectArray(tags), "", (nuint)duration, channel, feature, stage, obj.GetShortUrlCallback);
        }
Exemple #2
0
        public override void GetShortUrl(IBranchUrlInterface callback,
                                         int type = Constants.URL_TYPE_UNLIMITED,
                                         Dictionary <String, dynamic> parameters = null,
                                         string channel            = "",
                                         string stage              = "",
                                         ICollection <String> tags = null,
                                         string feature            = "")
        {
            BranchUrlListener obj = new BranchUrlListener(callback);

            callbacksList.Add(obj as Object);

            NativeBranch.GetShortURLWithParams(BranchIOSUtils.ToNSDictionary(parameters),
                                               BranchIOSUtils.ToNSObjectArray(tags), channel, feature, stage,
                                               (IOSNativeBranch.BranchLinkType)type, obj.GetShortUrlCallback);
        }
Exemple #3
0
 public override void UserCompletedAction(String action, Dictionary <string, object> metadata = null)
 {
     NativeBranch.UserCompletedAction(action, BranchIOSUtils.ToNSDictionary(metadata));
 }