Device attribute for getting device model name e.g. "Pixel 3 XL". More...
#include <DeviceAttributeDeviceModel.h>
Inherits AzFramework::DeviceAttribute.
Public Member Functions | |
| AZStd::string_view | GetName () const override |
| Get the name of the device attribute e.g. gpuMemory, gpuVendor, customAttribute42. | |
| AZStd::string_view | GetDescription () const override |
| Get a description of this device attribute, used for help text and eventual UI. | |
| AZStd::any | GetValue () const override |
| Get the value of this attribute. | |
| bool | Evaluate (AZStd::string_view rule) const override |
| Evaluate a rule and return true if there is a match for this device attribute. | |
Public Member Functions inherited from AzFramework::DeviceAttribute | |
| AZ_RTTI (DeviceAttribute, "{8B7AF778-DD8A-4AFA-8416-EA2D03080F29}") | |
Protected Attributes | |
| AZStd::string | m_name = "DeviceModel" |
| AZStd::string | m_description = "Device Model" |
| AZStd::string | m_value = "" |
Device attribute for getting device model name e.g. "Pixel 3 XL".
|
overridevirtual |
Evaluate a rule and return true if there is a match for this device attribute.
Implements AzFramework::DeviceAttribute.
|
overridevirtual |
Get a description of this device attribute, used for help text and eventual UI.
Implements AzFramework::DeviceAttribute.
|
overridevirtual |
Get the name of the device attribute e.g. gpuMemory, gpuVendor, customAttribute42.
Implements AzFramework::DeviceAttribute.
|
overridevirtual |
Get the value of this attribute.
Implements AzFramework::DeviceAttribute.