MKPProgramRestriction

class MKPProgramRestriction: Any

Defines different types of restrictions applicable on the current program.

Fields

Name Description
var code: Int?

Program restriction error code. Please refer errorcodes.md

var message: String?

Program restriction error message. Please refer errorcodes.md

Constructors

Name Description
constructor()

Defines different types of restrictions applicable on the current program.

Methods

getMessage

fun getMessage(code: ProgramRestrictions): String?

Return the message associated with the Restriction.

Parameters

Name Description
code: ProgramRestrictions

ReturnValue

Name Description
String?