---
title: embeddedPrincipal()
framework: Professional Video Applications
role: symbol
role_heading: Type Method
platforms: [fxplug 3.1+]
path: professional_video_applications/fxprincipal/embeddedprincipal()
---

# embeddedPrincipal()

Start your XPC service listening for connections from the host application.

## Declaration

```swift
class func embeddedPrincipal() -> Any!
```

## Return Value

Return Value An object used for XPC communication with the in-process embedded principal.

## Discussion

Discussion If this method returns nil, the host app is unable to communicate with your plug-in’s XPC service.

## See Also

### Type Methods

- [startServicePrincipal()](professional_video_applications/fxprincipal/startserviceprincipal().md)
- [startServicePrincipal(with:)](professional_video_applications/fxprincipal/startserviceprincipal(with:).md)
