int64 DeleteSprite (string, string, string)

Deletes a sprite.

Security

Trust Level Required: Full Trust

Parameters

Name Description
callbackName string
The name of a callback on your page that you would like KioWare to call when complete.
spriteId string
The target sprite.
devName (Optional) string
Optional device name from the Config Tool. Default value: null.

Return

The queue id number, or 0.

Remarks

The sprite will be deleted, regardless of which view it's on.

Examples


if(!KioTouchDevice.DeleteSprite(null, 'LeftMenu'))
	alert('Failed');

Requirements

KioWare for Windows version 8.18 or greater.