ShortDynamicLink.Suffix

@Retention(value = RetentionPolicy.SOURCE)
@IntDef(value = [Suffix.UNGUESSABLE, Suffix.SHORT])
annotation ShortDynamicLink.Suffix


Path generation option for short Dynamic Link length

Summary

Constants

const Int
SHORT = 2

Shorten the path to a string that is only as long as needed to be unique, with a minimum length of 4 characters.

const Int

Shorten the path to an unguessable string.

Constants

SHORT

const val SHORT = 2: Int

Shorten the path to a string that is only as long as needed to be unique, with a minimum length of 4 characters. Use this method if sensitive information would not be exposed if a short Dynamic Link URL were guessed.

UNGUESSABLE

const val UNGUESSABLE = 1: Int

Shorten the path to an unguessable string. Such strings are created by base62-encoding randomly generated 96-bit numbers, and consist of 17 alphanumeric characters. Use unguessable strings to prevent your Dynamic Links from being crawled, which can potentially expose sensitive information.