public AppLinking.Builder createBuilder(
     AppLinking.LinkingPreviewType previewType           = null,
     AppLinking.AndroidLinkInfo.AndroidOpenType openType = null
     )
 {
     previewType = previewType ?? AppLinking.LinkingPreviewType.AppInfo;
     openType    = openType ?? AppLinking.AndroidLinkInfo.AndroidOpenType.CustomUrl;
     return(AppLinking.newBuilder()
            .setPreviewType(previewType)
            .setUriPrefix(URI_PREFIX)
            .setDeepLink(Uri.parse(DEEP_LINK))
            .setAndroidLinkInfo(
                AppLinking.AndroidLinkInfo.newBuilder()
                .setFallbackUrl(IMAGE_URI)
                .setOpenType(openType)
                .build())
            .setSocialCardInfo(
                AppLinking.SocialCardInfo.newBuilder().
                setTitle(TITLE)
                .setImageUrl(IMAGE_URI)
                .setDescription(DESCRIPTION)
                .build())
            .setCampaignInfo(
                AppLinking.CampaignInfo.newBuilder()
                .setName("name")
                .setSource("AGC")
                .setMedium("App")
                .build())
            .setExpireMinute(2));
 }
        public void CreateAppLinking(
            AppLinking.LinkingPreviewType previewType           = null,
            AppLinking.AndroidLinkInfo.AndroidOpenType openType = null)
        {
            AppLinking.Builder builder = createBuilder(previewType, openType);
            Uri applinkingUri          = builder.buildAppLinking().getUri();
            var link = applinkingUri.toString();

            TestTip.Inst.ShowText($"App link: {link}");
            GUIUtility.systemCopyBuffer = link;
        }