文档

​
​

Development

User Acquisition

Monetization

工业

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.
阅读时间1 分钟
最后更新于 8 个月前

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
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • 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


报告此页面的问题