Class: Google::Apis::AndroidpublisherV3::ScreenDensity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Represents a screen density.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScreenDensity

Returns a new instance of ScreenDensity.



5162
5163
5164
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5162

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#density_aliasString

Alias for a screen density. Corresponds to the JSON property densityAlias

Returns:

  • (String)


5155
5156
5157
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5155

def density_alias
  @density_alias
end

#density_dpiFixnum

Value for density dpi. Corresponds to the JSON property densityDpi

Returns:

  • (Fixnum)


5160
5161
5162
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5160

def density_dpi
  @density_dpi
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5167
5168
5169
5170
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5167

def update!(**args)
  @density_alias = args[:density_alias] if args.key?(:density_alias)
  @density_dpi = args[:density_dpi] if args.key?(:density_dpi)
end