All Products
Search
Document Center

Mobile Platform as a Service:CubeService

Last Updated:Nov 24, 2025

This topic describes the core classes of Ant Cube Card Service.

Method

sharedInstance

/**
 Obtain a service instance
 
 @ param None
 @return CubeCrystalService
*/
 
+ (instancetype)sharedInstance;

initWithConfig

/**
 Initialize the engine
 
 @ param config Configuration parameters
 @ return None
*/
 
- (void)initWithConfig:(CubeEngineConfig *)config;

getEngine

/**
 Obtain engine instances
 
 @ param None
 @ return CubeEngine singleton engine instance
*/
 
- (CubeEngine *)getEngine;

destroyEngine

/**
 Release engine resources. You can call this operation to release resources when you ensure that no more crystal-related interfaces are called.
*/
 
- (void)destroyEngine;