buildLink
Ce contenu n’est pas encore disponible dans votre langue.
suspend fun buildLink(request: SharingRequest): String?
Builds a share link for request.
Return
Section titled “Return”null only when there is nothing to link to: the request carried no link, none of its products did, and neither the resolved config nor id.frak.sdk.core.FrakMetadata.homepageLink supplies one. That is answerable without a network round trip, so it is an absence rather than a failure.
Throws
Section titled “Throws”| FrakError | when a link could have been built but could not be: tracking is disabled, the device refused key material, or no merchant could be resolved. |