CodeGeneratorService

public class CodeGeneratorService extends Service

Background service that uses a WebView to statically load the Web Blockly libraries and use them to generate code.

Nested Class Summary

class CodeGeneratorService.CodeGeneratorBinder  

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

IBinder
onBind(Intent intent)
void
void
requestCodeGeneration(CodeGenerationRequest request)
Enqueues a CodeGenerationRequest and kicks off generation of the first request in the queue if no request is in progress.

Inherited Method Summary

Public Constructors

public CodeGeneratorService ()

Public Methods

public IBinder onBind (Intent intent)

Parameters
intent

public void onCreate ()

public void requestCodeGeneration (CodeGenerationRequest request)

Enqueues a CodeGenerationRequest and kicks off generation of the first request in the queue if no request is in progress.

Parameters
request The request to add to the queue.