Class ShadowTimeManager

    • Constructor Detail

      • ShadowTimeManager

        public ShadowTimeManager()
    • Method Detail

      • setCapabilityState

        public void setCapabilityState​(String capability,
                                       int value)
        Capabilites are predefined and not controlled by user, so they can't be changed via TimeManager API.
      • getTimeZoneCapabilitiesAndConfig

        @Implementation
        protected android.app.time.TimeZoneCapabilitiesAndConfig getTimeZoneCapabilitiesAndConfig()
      • updateTimeZoneConfiguration

        @Implementation
        protected boolean updateTimeZoneConfiguration​(android.app.time.TimeZoneConfiguration configuration)
      • addTimeZoneDetectorListener

        @Implementation
        protected void addTimeZoneDetectorListener​(Executor executor,
                                                   android.app.time.TimeManager.TimeZoneDetectorListener listener)
      • removeTimeZoneDetectorListener

        @Implementation
        protected void removeTimeZoneDetectorListener​(android.app.time.TimeManager.TimeZoneDetectorListener listener)
      • suggestExternalTime

        @Implementation
        protected void suggestExternalTime​(android.app.time.ExternalTimeSuggestion timeSuggestion)