共用方式為


BroadcastReceiver.GetResultExtras(Boolean) Method

Definition

Retrieve the current result extra data, as set by the previous receiver.

[Android.Runtime.Register("getResultExtras", "(Z)Landroid/os/Bundle;", "")]
public Android.OS.Bundle? GetResultExtras (bool makeMap);
[<Android.Runtime.Register("getResultExtras", "(Z)Landroid/os/Bundle;", "")>]
member this.GetResultExtras : bool -> Android.OS.Bundle

Parameters

makeMap
Boolean

If true then a new empty Map will be made for you if the current Map is null; if false you should be prepared to receive a null Map.

Returns

Map The current extras map.

Attributes

Remarks

Retrieve the current result extra data, as set by the previous receiver. Any changes you make to the returned Map will be propagated to the next receiver.

Java documentation for android.content.BroadcastReceiver.getResultExtras(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to