- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Subscriber

# Metaspace.Subscriber.createListenerDef()

## Signature

`Object createListenerDef (String timeScope, String distributionScope)`

## Domain

ACTION

## Description

Creates a listener definition

## Parameters

Name | Type | Description
--- | --- | ---
`timeScope` | `String` | The timed scope of the space entries, valid values are ALL, NEW, NEW_EVENTS, SNAPSHOT see AS documentation for details.
`distributionScope` | `String` | The distribution scope of the space entries, valid values are ALL, SEEDED see AS documentation for details.

## Returns

Type | Description
--- | ---
`Object` | ListenerDef object

## Cautions

none