Class: Toybox.Lang.ResourceId

Inherits:
Toybox.Lang.Object show all

Overview

A ResourceId is a resource identifier.

ResourceId values uniquely identify a resource to the system.

Example:

var resourceId = Rez.Strings.AppName;
var appName = System.loadResource(resourceId);

Since:

API Level 1.0.0

Instance Method Summary collapse

Instance Method Details

toString() as Lang.String

Convert a ResourceId to a String

Returns:

  • Lang.String

    The String representation of the ResourceId

Since:

API Level 1.0.0


Generated Apr 17, 2024 9:40:37 AM