Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unreal SDK

Vivox Unreal SDK

Vivox
​
​
Vivox Unreal SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
  • Tutorials
  • Reference
    • Vivox Core Unreal class model overview
    • Vivox Unreal conventions
    • Unreal API Reference Manual
      • Class List
        • AccountId
        • Channel3DProperties
        • ChannelId
        • FVivoxCoreModule
        • IAudioDevice
        • IAudioDevices
        • IChannelConnectionState
        • IChannelSession
        • IChannelTextMessage
        • IClient
        • IDirectedTextMessage
        • ILoginSession
        • IParticipant
        • IParticipantProperties
        • IPresenceLocation
        • IPresenceSubscription
        • ITextMessage
        • ITextToSpeech
        • ITranscribedMessage
        • ITTSAudioBuffer
        • ITTSMessage
        • ITTSVoice
        • Presence
        • VivoxConfig
      • Deprecated List
    • Access Token Developer Guide
    • Server to Server Web API Reference Guide
    • Third-party license information
  1. Vivox Unreal SDK documentation

IPresenceSubscription

Reference the IPresenceSubscription interface for subscribing to user presence.
Read time 1 minute
Last updated 8 months ago

More...
#include <IPresenceSubscription.h>

Public Functions

Name

DECLARE_EVENT_OneParam(IPresenceSubscription , AfterLocationAdded , const IPresenceLocation & )
virtual ILoginSession &LoginSession() =0
virtual TMap< FString, IPresenceLocation * >Locations() const =0

Public Attributes

Name

AfterLocationUpdated
const IPresenceLocation &virtual DECLARE_EVENT_OneParam(IPresenceSubscription, BeforeLocationRemoved, const IPresenceLocation &) public const AccountId &() const =0SubscribedAccount
AfterLocationAddedEventAfterLocationAdded
AfterLocationUpdatedEventAfterLocationUpdated
BeforeLocationRemovedEventBeforeLocationRemoved

Detailed Description

class IPresenceSubscription;
A subscription to another user for online status.

Public Functions Documentation

function DECLARE_EVENT_OneParam

DECLARE_EVENT_OneParam( IPresenceSubscription , AfterLocationAdded , const IPresenceLocation & )

function LoginSession

virtual ILoginSession & LoginSession() =0
The login session that owns this subscription.

function Locations

virtual TMap< FString, IPresenceLocation * > Locations() const =0
If the account associated with this subscription is signed in, then the Locations map has an entry for the location of each login session for that user.

Public Attributes Documentation

variable AfterLocationUpdated

AfterLocationUpdated;

variable SubscribedAccount

const IPresenceLocation &virtual DECLARE_EVENT_OneParam(IPresenceSubscription, BeforeLocationRemoved, const IPresenceLocation &) public const AccountId &() const =0 SubscribedAccount;
The account that this subscription pertains to.

variable EventAfterLocationAdded

AfterLocationAdded EventAfterLocationAdded;
This event is raised after a device has been added to the Locations() collection.

variable EventAfterLocationUpdated

AfterLocationUpdated EventAfterLocationUpdated;
This event is raised after a device has been added to the Locations() collection.

variable EventBeforeLocationRemoved

BeforeLocationRemoved EventBeforeLocationRemoved;
This event is raised before a device is removed from the Locations() collection.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Public Functions

    • Public Attributes

    • Detailed Description

    • Public Functions Documentation

      • function DECLARE_EVENT_OneParam

      • function LoginSession

      • function Locations

    • Public Attributes Documentation

      • variable AfterLocationUpdated

      • variable SubscribedAccount

      • variable EventAfterLocationAdded

      • variable EventAfterLocationUpdated

      • variable EventBeforeLocationRemoved


Report a problem with this page