Class AppsIntent


  • public class AppsIntent
    extends Object
    Definition of actions and extras for communicating with the app service.
    See Also:
    IAppsService
    • Field Detail

      • ACTION_APPS_SERVICE

        public static final String ACTION_APPS_SERVICE
        Service action: bind to the app service.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AppsIntent

        public AppsIntent()
    • Method Detail

      • getAccount

        public static Account getAccount​(Intent intent)
        Extract the Account from the given intent's extras Bundle.
        Parameters:
        intent - An intent.
        Returns:
        An Account, or null if the account extra is not present.
      • getVersion

        public static int getVersion​(Intent intent)
        Extract the version from the given intent's extras Bundle.
        Parameters:
        intent - An intent.
        Returns:
        An int, or 1 if the version extra is not present.