#include <web_app_icon.h>
◆ WebAppIcon() [1/2]
google_androidenterprise_api::WebAppIcon::WebAppIcon |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ WebAppIcon() [2/2]
google_androidenterprise_api::WebAppIcon::WebAppIcon |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~WebAppIcon()
google_androidenterprise_api::WebAppIcon::~WebAppIcon |
( |
| ) |
|
|
virtual |
◆ clear_image_data()
void google_androidenterprise_api::WebAppIcon::clear_image_data |
( |
| ) |
|
|
inline |
Clears the 'imageData
' attribute.
◆ get_image_data()
const StringPiece google_androidenterprise_api::WebAppIcon::get_image_data |
( |
| ) |
const |
|
inline |
Get the value of the 'imageData
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::WebAppIcon::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_image_data()
bool google_androidenterprise_api::WebAppIcon::has_image_data |
( |
| ) |
const |
|
inline |
Determine if the 'imageData
' attribute was set.
- Returns
- true if the '
imageData
' attribute was set.
◆ New()
WebAppIcon * google_androidenterprise_api::WebAppIcon::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_image_data()
void google_androidenterprise_api::WebAppIcon::set_image_data |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'imageData
' attribute.
The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
- The image type can be png or jpg.
- The image should ideally be square.
- The image should ideally have a size of 512x512.
- Parameters
-
The documentation for this class was generated from the following files:
- google/androidenterprise_api/web_app_icon.h
- google/androidenterprise_api/web_app_icon.cc