ORTEnv
Objective-C
@interface ORTEnv : NSObject
Swift
class ORTEnv : NSObject
The ORT environment.
-
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
Creates an ORT Environment.
Declaration
Objective-C
- (nullable instancetype)initWithLoggingLevel:(ORTLoggingLevel)loggingLevel error:(NSError *_Nullable *_Nullable) error;Swift
init(loggingLevel: ORTLoggingLevel) throwsParameters
loggingLevelThe environment logging level.
errorOptional error information set if an error occurs.
Return Value
The instance, or nil if an error occurs.
View on GitHub
ORTEnv Class Reference