Contains a set of actions that can be performed by the intent

Designed to be used with the intent_action function Example : intent_action.main

For further details on actions, refer to Android Intent documentation

Introduced properties

fun main: JavaString

android :: Action :: main

Standard Activity Action
fun time_tick: JavaString

android :: Action :: time_tick

Standard Broadcast Actions

Redefined properties

redef type SELF: Action

android $ Action :: SELF

Type of this instance, automatically specialized in every class

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
fun class_name: String

core :: Object :: class_name

The class name of the object.
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun hash: Int

core :: Object :: hash

The hash code of the object.
init init

core :: Object :: init

fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
fun main: JavaString

android :: Action :: main

Standard Activity Action
intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
fun time_tick: JavaString

android :: Action :: time_tick

Standard Broadcast Actions
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

fun to_s: String

core :: Object :: to_s

User readable representation of self.
package_diagram android::Action Action core::Object Object android::Action->core::Object

Parents

interface Object

core :: Object

The root of the class hierarchy.

Class definitions

android $ Action
# Contains a set of actions that can be performed by the intent
# Designed to be used with the `intent_action` function
# Example : `intent_action.main`
#
# For further details on actions, refer to Android Intent documentation
class Action

	# Standard Activity Action
	fun main: JavaString in "Java" `{ return Intent.ACTION_MAIN; `}
	fun view: JavaString in "Java" `{ return Intent.ACTION_VIEW; `}
	fun attach_data: JavaString in "Java" `{ return Intent.ACTION_ATTACH_DATA; `}
	fun edit: JavaString in "Java" `{ return Intent.ACTION_EDIT; `}
	fun pick: JavaString in "Java" `{ return Intent.ACTION_PICK; `}
	fun chooser: JavaString in "Java" `{ return Intent.ACTION_CHOOSER; `}
	fun get_content: JavaString in "Java" `{ return Intent.ACTION_GET_CONTENT; `}
	fun dial: JavaString in "Java" `{ return Intent.ACTION_DIAL; `}
	fun call: JavaString in "Java" `{ return Intent.ACTION_CALL; `}
	fun send: JavaString in "Java" `{ return Intent.ACTION_SEND; `}
	fun sent_to: JavaString in "Java" `{ return Intent.ACTION_SENDTO; `}
	fun answer: JavaString in "Java" `{ return Intent.ACTION_ANSWER; `}
	fun insert: JavaString in "Java" `{ return Intent.ACTION_INSERT; `}
	fun delete: JavaString in "Java" `{ return Intent.ACTION_DELETE; `}
	fun run: JavaString in "Java" `{ return Intent.ACTION_RUN; `}
	fun sync: JavaString in "Java" `{ return Intent.ACTION_SYNC; `}
	fun pick_activity: JavaString in "Java" `{ return Intent.ACTION_PICK_ACTIVITY; `}
	fun search: JavaString in "Java" `{ return Intent.ACTION_SEARCH; `}
	fun web_search: JavaString in "Java" `{ return Intent.ACTION_WEB_SEARCH; `}
	fun factory_test: JavaString in "Java" `{ return Intent.ACTION_FACTORY_TEST; `}

	# Standard Broadcast Actions
	fun time_tick: JavaString in "Java" `{ return Intent.ACTION_TIME_TICK; `}
	fun time_changed: JavaString in "Java" `{ return Intent.ACTION_TIME_CHANGED; `}
	fun timezone_changed: JavaString in "Java" `{ return Intent.ACTION_TIMEZONE_CHANGED; `}
	fun boot_completed: JavaString in "Java" `{ return Intent.ACTION_BOOT_COMPLETED; `}
	fun package_added: JavaString in "Java" `{ return Intent.ACTION_PACKAGE_ADDED; `}
	fun package_changed: JavaString in "Java" `{ return Intent.ACTION_PACKAGE_CHANGED; `}
	fun package_removed: JavaString in "Java" `{ return Intent.ACTION_PACKAGE_REMOVED; `}
	fun package_restarted: JavaString in "Java" `{ return Intent.ACTION_PACKAGE_RESTARTED; `}
	fun package_data_cleared: JavaString in "Java" `{
		return Intent.ACTION_PACKAGE_DATA_CLEARED;
	`}
	fun uid_removed: JavaString in "Java" `{ return Intent.ACTION_UID_REMOVED; `}
	fun battery_changed: JavaString in "Java" `{ return Intent.ACTION_BATTERY_CHANGED; `}
	fun power_connected: JavaString in "Java" `{ return Intent.ACTION_POWER_CONNECTED; `}
	fun power_disconnected: JavaString in "Java" `{ return Intent.ACTION_POWER_DISCONNECTED; `}
	fun shutdown: JavaString in "Java" `{ return Intent.ACTION_SHUTDOWN; `}
end
lib/android/intent/intent_api10.nit:433,1--479,3