---
title: PHASEStringMetaParameter
framework: phase
role: symbol
role_heading: Class
path: phase/phasestringmetaparameter
---

# PHASEStringMetaParameter

A metaparameter with a text definition that can change over time.

## Declaration

```swift
class PHASEStringMetaParameter
```

## Overview

Overview This class contains text that updates, like a “weather” metaparameter that the app changes from “rainy” to “sunny.” To create an instance of this class, first create a PHASEStringMetaParameterDefinition, and either: Register it with the engine by calling registerGlobalMetaParameter(metaParameterDefinition:), then access the instance of this class in the engine’s globalMetaParameters dictionary. Pass it to the PHASESwitchNodeDefinition initializer, init(switchMetaParameterDefinition:), and then access the instance of this class in a sound event’s metaParameters dictionary.

## Relationships

### Inherits From

- [PHASEMetaParameter](phase/phasemetaparameter.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Textual Metaparameters

- [PHASEStringMetaParameterDefinition](phase/phasestringmetaparameterdefinition.md)
