DriveFactory
instead.public final class DriveFactory extends Object
DriveManager
objects.Constructor and Description |
---|
DriveFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Collection<DriveManager> |
getAllDriveManagers()
Deprecated.
Gets all supported drive managers.
|
static DriveManager |
getDriveManager(DriveType driveType)
Deprecated.
Returns the drive manager to perform upload/delete/edit/get of the digital asset in the media field.
|
Permission |
getPermission(Context context)
Deprecated.
Gets the permission of the Drive that is associated to the media field.
|
static void |
registerDriveManager(DriveType driveType,
DriveManager driveManager)
Deprecated.
Registers drive manager.
|
public static DriveManager getDriveManager(DriveType driveType)
driveType
- the drive typepublic Permission getPermission(Context context) throws DAMException
context
- the context that defines the media fieldDAMException
- error thrown when the failure to get the Drive permission occurspublic static void registerDriveManager(DriveType driveType, DriveManager driveManager)
driveType
- the drive typedriveManager
- the drive managerpublic static Collection<DriveManager> getAllDriveManagers()