Options
All
  • Public
  • Public/Protected
  • All
Menu

CloudDriveResource support 'bmp', 'jpg', 'png','gif', 'pdf', 'jpeg', 'pptx', 'ppt', 'doc', 'docx', 'mp3','mp4',

Hierarchy

  • CloudDriveResource

Index

Constructors

constructor

  • new CloudDriveResource(data: { ext: string; initOpen?: boolean; resourceName: string; resourceUuid: string; size: number; updateTime: number; url?: string }): CloudDriveResource
  • Parameters

    • data: { ext: string; initOpen?: boolean; resourceName: string; resourceUuid: string; size: number; updateTime: number; url?: string }
      • ext: string
      • Optional initOpen?: boolean
      • resourceName: string
      • resourceUuid: string
      • size: number
      • updateTime: number
      • Optional url?: string

    Returns CloudDriveResource

Properties

ext

ext: string

Extension name of the resource file

Optional initOpen

initOpen?: boolean
deprecated

Wether automatically open the file after classroom is launched, currently not implemented.

resourceName

resourceName: string

Resource name of the resource file

resourceUuid

resourceUuid: string

UUID of the resource file

size

size: number

File size in bytes

updateTime

updateTime: number

Last update time

Optional url

url?: string

Resource file URL