Parameters

Name

Type

Description

containID

String

Specifies the string that must be in each device ID in the list of devices

Property description

Returns the list of devices connected to the computer.

Example

OptionExplicitDimUI:SetUI=SDB.UISubOnStartUp()DimmnuTestSetmnuTest=SDB.UI.AddMenuItem(SDB.UI.Menu_Edit,0,0)mnuTest.Caption=SDB.Localize("Sync Now Playing to Galaxy Nexus")mnuTest.OnClickFunc="SDBOnClick"mnuTest.UseScript=Script.ScriptPathEndSubSubSDBOnClick(Item)DimDeviceHandle:DeviceHandle=-1DimDevices:SetDevices=SDB.Device.ActiveDeviceList("VID_04E8&PID_6860")Dimi:i=0Fori=0ToDevices.Count-1IfDevices.DeviceHandle(i)<>-1ThenDeviceHandle=Devices.DeviceHandle(i)EndIfNextSDB.Device.StartSynchDeviceHandle,SDB.Player.CurrentSongListEndSub