Sha256: 3f5efbf9f8b05ca5548a6e82a2b46b1c8ae56456ad2cee1dafd8a6d86e53c408

Contents?: true

Size: 977 Bytes

Versions: 9

Compression:

Stored size: 977 Bytes

Contents

package com.rho;

import com.xruby.runtime.builtin.RubyArray;
import com.xruby.runtime.lang.RubyProgram;
import com.rho.net.NetResponse;
import com.rho.file.*;

public interface IRhoRubyHelper {
	public abstract void initRubyExtensions();
	public abstract RubyProgram createMainObject() throws Exception;
	public abstract String getPlatform();
	
	public abstract IFileAccess createFileAccess();
	public abstract IRAFile createRAFile();
	public abstract IRAFile createFSRAFile();
	
	public void loadBackTrace(RubyArray backtrace);
	public String getDeviceId();
	
	public String getAppProperty(String name);
	public String getModuleName();
	public boolean isSimulator();
	
	public void showLog();
	
	public String getGeoLocationText();
	public void wakeUpGeoLocation();
	
	public NetResponse postUrl(String url, String body);
	public void navigateUrl(String url);
	public void navigateBack();
	public void app_exit();
	
	public void unzip_file(String strPath)throws Exception;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rhodes-2.3.2 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.2.beta.2 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.2.beta.1 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.1 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.1.beta.1 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.0 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.0.beta.3 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.0.beta.2 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java
rhodes-2.3.0.beta.1 platform/bb/RubyVM/src/com/rho/IRhoRubyHelper.java