Skip to main content
Home

Search form

Menu

Search form

  • What's new?
  • Requirements
  • Where to find the SDK
  • Tutorials
  • Client API
    • Classes Overview
    • Sorting
    • Error Codes
    • Determining SDK Version
    • Configuration Evaluator Types
    • View Types
    • Field Control Types
    • Validation Rule Types
    • org.alfresco.mobile.android.api.session
    • org.alfresco.mobile.android.api.session.authentication
    • org.alfresco.mobile.android.api.services
      • Service base interface
      • ActivityStreamService
      • CommentService
      • DocumentFolderService
      • ModelDefinitionService
      • PersonService
      • RatingService
        • getLikeCount
        • isLiked
        • like
        • unlike
      • SearchService
      • ServiceRegistry
      • SiteService
      • TaggingService
      • VersionService
      • WorkflowService
    • org.alfresco.mobile.android.api.model
    • org.alfresco.mobile.android.api.exceptions
  • Copyright
  • Disclaimer

You are here

SkyVault Mobile SDK for Android » Client API » org.alfresco.mobile.android.api.services » RatingService

getLikeCount

public int getLikeCount(Node node) returns the number of likes available for the specified node.

Parameters

Node node
The node to return the like count for.

Returns

Returns an int representing the number of likes for the specified node.

Exception

Throws an SkyVaultServiceException if the operation cannot be carried out.

Example


      
    
Parent topic: RatingService

© 2017 TBS-LLC. All Rights Reserved.    Follow @twitter