Skip to content

ReactiveAppCompatActivity.StartActivityForResultAsync(Intent, int) method

Defined in

Type: ReactiveAppCompatActivity Namespace: ReactiveUI.AndroidX Assembly: ReactiveUI.AndroidX.dll

Applies to

net10.0-android36.0

Overloads

  1. public Task<(Result Result, Intent? Intent)> StartActivityForResultAsync(Intent intent, int requestCode)

  2. public Task<(Result Result, Intent? Intent)> StartActivityForResultAsync(Type type, int requestCode)

1. Overload

public Task<(Result Result, Intent? Intent)> StartActivityForResultAsync(Intent intent, int requestCode)

View source (opens in a new tab)

Summary: Starts the activity for result asynchronously.

Parameters

NameTypeDescription
intentIntentThe intent.
requestCodeint (opens in a new tab)The request code.

Returns: Task<(Result Result, Intent? Intent)> (opens in a new tab) -- A task with the result and intent.

2. Overload

public Task<(Result Result, Intent? Intent)> StartActivityForResultAsync(Type type, int requestCode)

View source (opens in a new tab)

Summary: Starts the activity for result asynchronously.

Parameters

NameTypeDescription
typeType (opens in a new tab)The type.
requestCodeint (opens in a new tab)The request code.

Returns: Task<(Result Result, Intent? Intent)> (opens in a new tab) -- A task with the result and intent.