-
public class DbxOfficialAppConnector.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final StringACTION_SHOW_UPGRADEprivate final StringEXTRA_DROPBOX_UIDprivate final StringEXTRA_CALLING_PACKAGEprivate final StringACTION_DBXC_EDITprivate final StringACTION_DBXC_VIEWprivate final StringACTION_SHOW_DROPBOX_PREVIEWprivate final StringEXTRA_DROPBOX_PATHprivate final StringEXTRA_DROPBOX_READ_ONLYprivate final StringEXTRA_DROPBOX_REVprivate final StringEXTRA_DROPBOX_SESSION_IDpublic final static DbxOfficialAppConnector.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final DbxOfficialAppConnector.DbxOfficialAppInstallInfoisInstalled(Context context)final BooleanisAnySignedIn(Context context)final IntentgetDropboxPlayStoreIntent()final IntentgenerateOpenWithIntentFromUtmContent(String UtmContent)Decodes a Google Play Campaign attribution utm_content field that was generated by Dropbox OpenWith flow. final StringgetACTION_SHOW_UPGRADE()final StringgetEXTRA_DROPBOX_UID()final StringgetEXTRA_CALLING_PACKAGE()final StringgetACTION_DBXC_EDIT()final StringgetACTION_DBXC_VIEW()final StringgetACTION_SHOW_DROPBOX_PREVIEW()final StringgetEXTRA_DROPBOX_PATH()final StringgetEXTRA_DROPBOX_READ_ONLY()final StringgetEXTRA_DROPBOX_REV()final StringgetEXTRA_DROPBOX_SESSION_ID()-
-
Method Detail
-
isInstalled
final DbxOfficialAppConnector.DbxOfficialAppInstallInfo isInstalled(Context context)
-
isAnySignedIn
final Boolean isAnySignedIn(Context context)
-
getDropboxPlayStoreIntent
final Intent getDropboxPlayStoreIntent()
-
generateOpenWithIntentFromUtmContent
final Intent generateOpenWithIntentFromUtmContent(String UtmContent)
Decodes a Google Play Campaign attribution utm_content field that was generated by Dropbox OpenWith flow. This should only be called if utm_source=”dropbox_android_openwith”. See https://developers.google.com/analytics/devguides/collection/android/v4/campaign for more information about how to use Play Store attribution.
You won't need to use this unless you are our official partner in openwith.
- Parameters:
UtmContent- GooglePlay utm content that has been urldecoded
-
getACTION_SHOW_UPGRADE
final String getACTION_SHOW_UPGRADE()
-
getEXTRA_DROPBOX_UID
final String getEXTRA_DROPBOX_UID()
-
getEXTRA_CALLING_PACKAGE
final String getEXTRA_CALLING_PACKAGE()
-
getACTION_DBXC_EDIT
final String getACTION_DBXC_EDIT()
-
getACTION_DBXC_VIEW
final String getACTION_DBXC_VIEW()
-
getACTION_SHOW_DROPBOX_PREVIEW
final String getACTION_SHOW_DROPBOX_PREVIEW()
-
getEXTRA_DROPBOX_PATH
final String getEXTRA_DROPBOX_PATH()
-
getEXTRA_DROPBOX_READ_ONLY
final String getEXTRA_DROPBOX_READ_ONLY()
-
getEXTRA_DROPBOX_REV
final String getEXTRA_DROPBOX_REV()
-
getEXTRA_DROPBOX_SESSION_ID
final String getEXTRA_DROPBOX_SESSION_ID()
-
-
-
-