Base type for custom user item delegates of SocialView. More...

Import Statement: import Felgo 3.0
Since: Felgo 2.14.1


Detailed Description

Property Documentation

contextItem : var

Some SocialView pages set this property to allow different usages of the same delegate within the page.

For example, the SocialView::leaderboardPage shows a friends-only and a general leaderboard that both use the configured SocialView::leaderboardUserDelegate. You can handle these leaderboards differently by checking the contextItem.friendsOnly property, which is either true or false.

gameNetworkItem : var

Allows to access the configured SocialView::gameNetworkItem from within the delegate.

gameNetworkUser : GameNetworkUser

This property is set by the SocialView and holds the GameNetworkUser object of the user, that is displayed by the SocialUserDelegate.

multiplayerItem : var

Allows to access the configured SocialView::multiplayerItem from within the delegate. This can be undefined, if no multiplayer item is available.

[read-only] parentPage : Page

Holds the page object that the delegate item is used within. Use this property to access page or modify page properties, or to push other pages to the Page::navigationStack.

socialViewItem : var

Allows to access the SocialView item from within the delegate. It is set to the default id socialView, if available in the scope of the delegate, and undefined otherwise. You can also overwrite this property to use your custom SocialView item id.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support