LocationManager.SendExtraCommand(String, String, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends additional commands to a location provider.
[Android.Runtime.Register("sendExtraCommand", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Z", "GetSendExtraCommand_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public virtual bool SendExtraCommand (string provider, string command, Android.OS.Bundle? extras);
[<Android.Runtime.Register("sendExtraCommand", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Z", "GetSendExtraCommand_Ljava_lang_String_Ljava_lang_String_Landroid_os_Bundle_Handler")>]
abstract member SendExtraCommand : string * string * Android.OS.Bundle -> bool
override this.SendExtraCommand : string * string * Android.OS.Bundle -> bool
Parameters
- provider
- String
a provider listed by #getAllProviders()
- command
- String
name of the command to send to the provider
- extras
- Bundle
optional arguments for the command, or null
Returns
true always, the return value may be ignored
- Attributes
Remarks
Sends additional commands to a location provider. Can be used to support provider specific extensions to the Location Manager API.
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.