package com.twitter.sdk.android.tweetcomposer; import com.twitter.sdk.android.tweetcomposer.internal.CardData; /* loaded from: classes.dex */ class CardDataFactory { static CardData a(Card card, Long l, String str) { CardData.Builder builder = new CardData.Builder(); builder.d(Card.APP_CARD_TYPE); builder.h(a(l)); builder.c(card.appIPhoneId); builder.b(card.appIPadId); builder.a(card.appGooglePlayId); builder.e("{}"); builder.f("open"); builder.g(str); return builder.a(); } static String a(Long l) { return "media://" + Long.toString(l.longValue()); } }