---
title: servicePrincipal()
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 3.1+]
path: professional_video_applications/fxprincipalapi/serviceprincipal()
---

# servicePrincipal()

Retrieves a pointer to the proxy object used for sandboxed out-of-process tasks.

## Declaration

```swift
func servicePrincipal() -> Any!
```

## Return Value

Return Value An object used for XPC communication with the out-of-process service principal.

## Discussion

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