# EasyScriptEventListener

Extends

This interface defines a listener capable of receiving streaming EasyScript events.

package | Application

### Methods

## This method will be called when the signature is cancelled by pressing the "Cancel" button on the signature pad.

    cancel() : mixed

### Response

`mixed`

## This method is called when a card swipe is detected in the signature stream.

    cardSwipe(mixedswipe) : mixed

### Arguments

#### swipe

`mixed`

### Response

`mixed`

## This method will be called when the signature is accepted by pressing the "OK" or "Accept" button on the signature pad.

    endOfSignature() : mixed

### Response

`mixed`

## This method will be called when a new stroke is detected in the signature stream.

    newStroke() : mixed

### Response

`mixed`

## This method will be called when a coordinate is parsed from the signature stream.

    receiveCoordinate(mixedcoordinate) : mixed

### Arguments

#### coordinate

`mixed`

### Response

`mixed`

## This method is called when the signature metadata is captured from the signature stream.

    signatureMetaData(mixedmetaData) : mixed

### Arguments

#### metaData

`mixed`

### Response

`mixed`