Class: Toybox::Media::CacheStatistics

Inherits:
Lang::Object show all

Overview

Stores media cache size statistics

Since:

  • 3.0.0

Instance Attribute Summary collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

capacityToybox::Lang::Number

The capacity of the media cache

Returns:

Since:

  • 3.0.0


7169
7170
7171
# File 'Monkeybrains.rb', line 7169

def capacity
  @capacity
end

sizeToybox::Lang::Number

The current size of the media cache

Returns:

Since:

  • 3.0.0


7164
7165
7166
# File 'Monkeybrains.rb', line 7164

def size
  @size
end