/** * Get a short url given a BranchUniversalObject, BranchLinkProperties */ public static void getShortURL(BranchUniversalObject universalObject, BranchLinkProperties linkProperties, BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _getShortURLWithBranchUniversalObjectAndCallback(universalObject.ToJsonString(), linkProperties.ToJsonString(), callbackId); }
/** * Get a content url given a set of params, tags, and a channel */ public static void getContentURL(Dictionary<string, object> parameters, List<string> tags, string channel, BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _getContentUrlWithParamsTagsChannelAndCallback(MiniJSON.Json.Serialize(parameters), MiniJSON.Json.Serialize(tags), channel, callbackId); }
/** * Get a short url given a set of params, tags, channel, feature, stage, and matchDuration */ public static void getShortURLWithTags(Dictionary<string, object> parameters, List<string>tags, string channel, string feature, string stage, int matchDuration, BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _getShortURLWithParamsTagsChannelFeatureStageMatchDurationAndCallback(MiniJSON.Json.Serialize(parameters), MiniJSON.Json.Serialize(tags), channel, feature, stage, matchDuration, callbackId); }
/** * Get a short url given a set of params, channel, feature, stage, and type */ public static void getShortURL(int type, Dictionary<string, object> parameters, string channel, string feature, string stage, BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _getShortURLWithParamsChannelFeatureStageTypeAndCallback(MiniJSON.Json.Serialize(parameters), channel, feature, stage, type, callbackId); }
/** * Get a short url given a set of params */ public static void getShortURL(Dictionary<string, object> parameters, BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _getShortURLWithParamsAndCallback(MiniJSON.Json.Serialize(parameters), callbackId); }
/** * Get an arbitrary short url */ public static void getShortURL(BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _getShortURLWithCallback(callbackId); }
public static void shareLink(Dictionary<string, object> parameters, List<string> tags, string message, string feature, string stage, string defaultUrl, BranchCallbackWithUrl callback) { var callbackId = _getNextCallbackId(); _branchCallbacks[callbackId] = callback; _shareLink(MiniJSON.Json.Serialize(parameters), MiniJSON.Json.Serialize(tags), message, feature, stage, defaultUrl, callbackId); }