---
title: "processReturnValue(value:in:)"
framework: tvmlkit
role: symbol
role_heading: Instance Method
path: "tvmlkit/tvplaybackeventmarshaling/processreturnvalue(value:in:)"
---

# processReturnValue(value:in:)

Converts a JavaScript value into a value that is readable in Swift or Objective-C.

## Declaration

```swift
optional func processReturnValue(value: JSValue, in jsContext: JSContext)
```

## Parameters

- `value`: A JavaScript value returned by the dispatch event.
- `jsContext`: The JavaScript context for the value.

## See Also

### Processing Playback Events

- [properties](tvmlkit/tvplaybackeventmarshaling/properties.md)
- [TVPlaybackEventProperty](tvmlkit/tvplaybackeventproperty.md)
