multiplatformName

Extension property that provides the platform-specific name for the class.

This property retrieves the class name in a format that is tailored to be appropriate for the current platform or environment. It is a shorthand for calling getFormattedName with the NameFormat.MULTIPLATFORM format.

The MULTIPLATFORM format is intended to support naming conventions that may vary depending on the platform or use case. This can be useful when different platforms require different representations of class names for various reasons, such as logging, serialization, or platform-specific APIs.

Return

The platform-specific name of the class as a String, or null if the name cannot be determined or is not applicable in the current context.

See also