Package com.kakao.vectormap.internal
Class EngineHandler
- java.lang.Object
-
- com.kakao.vectormap.internal.EngineHandler
-
- All Implemented Interfaces:
IEngineHandler
public class EngineHandler extends java.lang.Object implements IEngineHandler
-
-
Constructor Summary
Constructors Constructor Description EngineHandler(MapViewHolder mapViewHolder, EngineCreateCallback engineCreateCallback, boolean isVulkan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEngineState()
void
pause()
boolean
render()
void
resize(int width, int height)
void
resume(int width, int height)
long
start(Context context, int width, int height, int depthSize, java.lang.String glRenderer, Surface surface)
void
stop()
void
updateSurface(int width, int height, Surface surface)
-
-
-
Constructor Detail
-
EngineHandler
public EngineHandler(MapViewHolder mapViewHolder, EngineCreateCallback engineCreateCallback, boolean isVulkan)
-
-
Method Detail
-
start
public long start(Context context, int width, int height, int depthSize, java.lang.String glRenderer, Surface surface) throws java.lang.RuntimeException
- Specified by:
start
in interfaceIEngineHandler
- Throws:
java.lang.RuntimeException
-
resume
public void resume(int width, int height)
- Specified by:
resume
in interfaceIEngineHandler
-
render
public boolean render()
- Specified by:
render
in interfaceIEngineHandler
-
pause
public void pause()
- Specified by:
pause
in interfaceIEngineHandler
-
updateSurface
public void updateSurface(int width, int height, Surface surface)
- Specified by:
updateSurface
in interfaceIEngineHandler
-
resize
public void resize(int width, int height)
- Specified by:
resize
in interfaceIEngineHandler
-
stop
public void stop()
- Specified by:
stop
in interfaceIEngineHandler
-
getEngineState
public java.lang.String getEngineState()
- Specified by:
getEngineState
in interfaceIEngineHandler
-
-