Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

DriveList Event

Fired for each drive when ListDrives is called.

Syntax

onedrive.on('DriveList', [callback])

Callback

The 'callback' is called when the 'DriveList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.id
e.driveType
e.ownerId
e.ownerName

Remarks

This event fires for each drive returned when ListDrives is called.

Id is the unique identifier of the drive.

DriveType indicates whether the drive is personal or business. Possible values are:

  • 0 (personal)
  • 1 (business)

OwnerId: is the Id of the drive owner.

OwnerName: is the name of the drive owner.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0