<!--
{
  "availability" : [
    "FxPlug: 3.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Professional Video Applications",
  "identifier" : "/documentation/professional_video_applications/FxPrincipal",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(cs)FxPrincipal"
  },
  "title" : "FxPrincipal"
}
-->

# FxPrincipal

Singleton object that starts your XPC service running and can return the embedded (in-process) component of your plug-in.

```
class FxPrincipal
```

## Topics

### Type Methods

[`class func embeddedPrincipal() -> Any!`](/documentation/professional_video_applications/FxPrincipal/embeddedPrincipal())

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

[`class func startServicePrincipal()`](/documentation/professional_video_applications/FxPrincipal/startServicePrincipal())

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

[`class func startServicePrincipal(with: (any FxPrincipalDelegate)!)`](/documentation/professional_video_applications/FxPrincipal/startServicePrincipal(with:))

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

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`PROXPCProtocol`](/documentation/professional_video_applications/PROXPCProtocol)

[`FxXPCProtocol`](/documentation/professional_video_applications/FxXPCProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)