InoDrive / Connection / connected


property InoDrive.connected()

Retrieve InoDrive Connection Handle status

Returns: Status (Boolean) – True or False Value on having an established connection.

// Import InoDrive API Library
import { InoDriveApiJS }  from "ck-inodrive-api" 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

# Instantiate InoDrive Object and Connect by Name
let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true })

# Retrieve Connection Handle Status
Drive.connected()