---
title: "updateServiceInfo(_:)"
framework: replaykit
role: symbol
role_heading: Instance Method
path: "replaykit/rpbroadcasthandler/updateserviceinfo(_:)"
---

# updateServiceInfo(_:)

Sends information about the current broadcast to the broadcasting app.

## Declaration

```swift
func updateServiceInfo(_ serviceInfo: [String : any NSCoding & NSObjectProtocol])
```

## Parameters

- `serviceInfo`: Dictionary that is passed back to the broadcasting app and contains information about the ongoing broadcast.

## Discussion

Discussion This method populates the serviceInfo property on RPBroadcastController to send viewing stats or messages to the broadcasting app.

## See Also

### Updating Current Broadcast Information

- [updateBroadcast(_:)](replaykit/rpbroadcasthandler/updatebroadcast(_:).md)
