Code example for SurfaceHolder

Methods: addCallback, setType