MemoryManagementResultCode

public enum MemoryManagementResultCode : UInt32, CaseIterable, Codable

The memory management result code.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

  • The memory management options were successfully applied.

    Declaration

    Swift

    case applied
  • The requested memory limit exceeds the maximum allowed limit for CPU tile cache. Previous value of CPU tile cache limit is preserved. Video memory limit applied correctly.

    Declaration

    Swift

    case tileCacheCpuMemoryLimitExceeded
  • The requested memory limit exceeds the maximum allowed limit for video memory. Previous value of video memory limit is preserved. CPU tile cache limit applied correctly.

    Declaration

    Swift

    case videoMemoryLimitExceeded
  • Both video memory and CPU tile cache limits were exceeded and limits were not applied. Previous values of video memory and CPU tile cache limits are preserved.

    Declaration

    Swift

    case failedBothMemoryLimitsExceeded
  • The memory management options could not be applied due to other errors.

    Declaration

    Swift

    case failed