Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Kiwi CatTools > Kiwi CatTools 3.11 Administrator Guide > API > CatTools API Classes > CatTools Devices class

CatTools Devices class

Table of contents
No headers
Created by Caroline Juszczak, last modified by Caroline Juszczak on Jun 28, 2016

Views: 19 Votes: 0 Revisions: 1

The Devices class is used to enumerate CatTools Device objects and to enact changes to a Device. ie add, edit and delete.

 

The following Methods and Properties are available :

 

Properties

 

Count

Returns the number of devices in your database.

 

Methods

 

AddNew

Returns a Device. This Device can then have its settings modified before being saved to the database.

Takes as a property the name of the device-type that you would like to create.

 

DeleteByDevice

Deletes a device from the database. Takes a device object as a parameter.

 

DeleteByName

Deletes a device from the database using the devices name as an identifier.

 

GetByName

Returns a Device object. Takes the devices name as a parameter.

 

Items

The collection of Device objects.

 

Refresh

Resyncronise with the database.

 

SaveDevice

Saves a Device object to the database. Takes the Device to be saved as a parameter.

 

Last modified
07:23, 28 Jun 2016

Tags

Classifications

Public