---
title: shared()
framework: mediaplayer
role: symbol
role_heading: Type Method
path: mediaplayer/mpremotecommandcenter/shared()
---

# shared()

Returns the shared object you use to access the system’s remote command objects.

## Declaration

```swift
class func shared() -> MPRemoteCommandCenter
```

## Return Value

Return Value The shared instance of the MPRemoteCommandCenter class.
