Package com.parse

Class ParseInstallation


  • @ParseClassName("_Installation")
    public class ParseInstallation
    extends ParseObject
    The ParseInstallation is a local representation of installation data that can be saved and retrieved from the Parse cloud.
    • Constructor Detail

      • ParseInstallation

        public ParseInstallation()
    • Method Detail

      • getQuery

        public static ParseQuery<ParseInstallation> getQuery()
        Constructs a query for ParseInstallation.

        Note: We only allow the following types of queries for installations:

         query.get(objectId)
         query.whereEqualTo("installationId", value)
         query.whereMatchesKeyInQuery("installationId", keyInQuery, query)
         

        You can add additional query clauses, but one of the above must appear as a top-level AND clause in the query.

        See Also:
        ParseQuery.getQuery(Class)
      • getInstallationId

        public java.lang.String getInstallationId()
        Returns the unique ID of this installation.
        Returns:
        A UUID that represents this device.
      • setObjectId

        public void setObjectId​(java.lang.String newObjectId)
        Description copied from class: ParseObject
        Setter for the object id. In general you do not need to use this. However, in some cases this can be convenient. For example, if you are serializing a ParseObject yourself and wish to recreate it, you can use this to recreate the ParseObject exactly.
        Overrides:
        setObjectId in class ParseObject
      • getPushType

        public java.lang.String getPushType()
      • setPushType

        public void setPushType​(java.lang.String pushType)
      • getDeviceToken

        public java.lang.String getDeviceToken()
      • setDeviceToken

        public void setDeviceToken​(java.lang.String deviceToken)