to top
Android APIs
Added in API level 1
public interface

Runnable

java.lang.Runnable
Known Indirect Subclasses

Class Overview

Represents a command that can be executed. Often used to run code in a different Thread.

Summary

Public Methods
abstract void run()
Starts executing the active part of the class' code.

Public Methods

public abstract void run ()

Added in API level 1

Starts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implements Runnable.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.