Link module
Purpose
Section titled “Purpose”From JSDoc (src/module/link/AffiseLink.ts:7):
Module Link url Resolve / Return last url in chan of redirection. Support MAX 10 redirections.
Module constant
Section titled “Module constant”AffiseModules.LINK = "Link"(src/module/AffiseModules.ts:1-16)
TypeScript API
Section titled “TypeScript API”AffiseLink (src/module/link/AffiseLink.ts:7) implements AffiseModuleLinkApi (src/module/link/AffiseModuleLinkApi.ts:4-11):
Affise.module.link.resolve(url: string, callback: AffiseLinkCallback): voidAffise.module.link.hasModule(): Promise<boolean>Callback type: AffiseLinkCallback (src/module/link/AffiseLinkCallback.ts:1).
Limits
Section titled “Limits”Up to 10 redirects are followed. Longer chains terminate without a resolved URL.
Platform notes
Section titled “Platform notes”pod 'AffiseModule/Link', '1.7.8'Android
Section titled “Android”implementation "com.affise:module-link:$affise_version"