-
public final class DbxOfficialAppConnectorThe DbxOfficialAppConnector is used by an app to communicate with the Official Android Dropbox app.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDbxOfficialAppConnector.DbxOfficialAppInstallInfopublic classDbxOfficialAppConnector.Companion
-
Constructor Summary
Constructors Constructor Description DbxOfficialAppConnector(String uid)
-
Method Summary
Modifier and Type Method Description final BooleanisSignedIn(Context context)final IntentgetUpgradeAccountIntent(Context context)final IntentgetPreviewFileIntent(Context context, String path, String lastRev)Display the DropboxApp's preview of file located at path This function should only be called if file was opened through DropboxAPI. -
-
Constructor Detail
-
DbxOfficialAppConnector
DbxOfficialAppConnector(String uid)
-
-
Method Detail
-
isSignedIn
final Boolean isSignedIn(Context context)
-
getUpgradeAccountIntent
final Intent getUpgradeAccountIntent(Context context)
-
getPreviewFileIntent
final Intent getPreviewFileIntent(Context context, String path, String lastRev)
Display the DropboxApp's preview of file located at path This function should only be called if file was opened through DropboxAPI. If path refers to a directory (as defined by having a '/' at end, will show Dropbox file tree.
You won't need to use this unless you are our official partner in openwith.
- Parameters:
path- path of file in authorized user's Dropbox to previewlastRev- The revision of file user is seeing (as returned by DropboxAPI.getFile/DropboxAPI.
-
-
-
-