All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.gamesManagement.model.Player.html Maven / Gradle / Ivy

The newest version!






Player (Google Play Game Management v1management-rev20241209-2.0.0)












com.google.api.services.gamesManagement.model

Class Player

    • Constructor Detail

      • Player

        public Player()
    • Method Detail

      • getAvatarImageUrl

        public String getAvatarImageUrl()
        The base URL for the image that represents the player.
        Returns:
        value or null for none
      • setAvatarImageUrl

        public Player setAvatarImageUrl(String avatarImageUrl)
        The base URL for the image that represents the player.
        Parameters:
        avatarImageUrl - avatarImageUrl or null for none
      • getBannerUrlLandscape

        public String getBannerUrlLandscape()
        The url to the landscape mode player banner image.
        Returns:
        value or null for none
      • setBannerUrlLandscape

        public Player setBannerUrlLandscape(String bannerUrlLandscape)
        The url to the landscape mode player banner image.
        Parameters:
        bannerUrlLandscape - bannerUrlLandscape or null for none
      • getBannerUrlPortrait

        public String getBannerUrlPortrait()
        The url to the portrait mode player banner image.
        Returns:
        value or null for none
      • setBannerUrlPortrait

        public Player setBannerUrlPortrait(String bannerUrlPortrait)
        The url to the portrait mode player banner image.
        Parameters:
        bannerUrlPortrait - bannerUrlPortrait or null for none
      • getDisplayName

        public String getDisplayName()
        The name to display for the player.
        Returns:
        value or null for none
      • setDisplayName

        public Player setDisplayName(String displayName)
        The name to display for the player.
        Parameters:
        displayName - displayName or null for none
      • getExperienceInfo

        public GamesPlayerExperienceInfoResource getExperienceInfo()
        An object to represent Play Game experience information for the player.
        Returns:
        value or null for none
      • setExperienceInfo

        public Player setExperienceInfo(GamesPlayerExperienceInfoResource experienceInfo)
        An object to represent Play Game experience information for the player.
        Parameters:
        experienceInfo - experienceInfo or null for none
      • getKind

        public String getKind()
        Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#player`.
        Returns:
        value or null for none
      • setKind

        public Player setKind(String kind)
        Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#player`.
        Parameters:
        kind - kind or null for none
      • getName

        public Player.Name getName()
        An object representation of the individual components of the player's name. For some players, these fields may not be present.
        Returns:
        value or null for none
      • setName

        public Player setName(Player.Name name)
        An object representation of the individual components of the player's name. For some players, these fields may not be present.
        Parameters:
        name - name or null for none
      • getOriginalPlayerId

        public String getOriginalPlayerId()
        The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.
        Returns:
        value or null for none
      • setOriginalPlayerId

        public Player setOriginalPlayerId(String originalPlayerId)
        The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.
        Parameters:
        originalPlayerId - originalPlayerId or null for none
      • getPlayerId

        public String getPlayerId()
        The ID of the player.
        Returns:
        value or null for none
      • setPlayerId

        public Player setPlayerId(String playerId)
        The ID of the player.
        Parameters:
        playerId - playerId or null for none
      • getProfileSettings

        public ProfileSettings getProfileSettings()
        The player's profile settings. Controls whether or not the player's profile is visible to other players.
        Returns:
        value or null for none
      • setProfileSettings

        public Player setProfileSettings(ProfileSettings profileSettings)
        The player's profile settings. Controls whether or not the player's profile is visible to other players.
        Parameters:
        profileSettings - profileSettings or null for none
      • getTitle

        public String getTitle()
        The player's title rewarded for their game activities.
        Returns:
        value or null for none
      • setTitle

        public Player setTitle(String title)
        The player's title rewarded for their game activities.
        Parameters:
        title - title or null for none
      • set

        public Player set(String fieldName,
                          Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Player clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy