기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Friends

Friends

Multiplayer
​
​
Friends
  • Overview
  • Get started
  • Concepts
    • Relationships
    • Friends
    • Friend list
    • Friend requests
    • Block list
    • Presence
    • Message
    • Profile
    • Events
  • Tutorials
  • Reference
  • Privacy and consent
  1. Friends(베타)에 오신 것을 환영합니다

Events

Understand the event system for tracking changes in the status and relationships of friends.
읽는 시간 1분
최근 업데이트: 9달 전

Most relationships don’t change often, but when there are changes, users want to know about them as soon as possible. The Friends SDK fetches all a user's relationships at startup, then keeps the list up-to-date using events.
The SDK sends events as soon as changes occur. User relationship changes that trigger an event include:
  • A friend updates their presence status.
  • The user adds a new relationship. A user creates a
    FRIEND_REQUEST
    relationship or a
    FRIEND_REQUEST
    is accepted creating a
    FRIEND
    relationship.
  • The user removes a relationship like a
    FRIEND_REQUEST
    , a
    FRIEND
    , or a
    BLOCK
    relationship.
You can use callbacks that run in response to notification events to subscribe the current user to notifications.
You can subscribe (and unsubscribe) to the following event types:

Parameter

Description

RelationshipAddedEvent invoked when a relationship involving the current user gets added.
RelationshipDeletedEvent invoked when a relationship involving the current user gets deleted.
PresenceUpdatedEvent invoked when the presence of a member associated with the current user updates their presence.
MessageReceivedEvent invoked when a user sends a message to the current user.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.


    이 페이지의 문제 보고