@awayjs/core
Version:
AwayJS core classes
27 lines • 828 B
TypeScript
export declare class IDUtil {
/**
* @private
* Char codes for 0123456789ABCDEF
*/
private static ALPHA_CHAR_CODES;
/**
* Generates a UID (unique identifier) based on ActionScript's
* pseudo-random number generator and the current time.
*
* <p>The UID has the form
* <code>"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"</code>
* where X is a hexadecimal digit (0-9, A-F).</p>
*
* <p>This UID will not be truly globally unique; but it is the best
* we can do without player support for UID generation.</p>
*
* @return The newly-generated UID.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
static createUID(): string;
}
//# sourceMappingURL=IDUtil.d.ts.map