Call.PutExtras(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.
Adds some extras to this Call
.
[Android.Runtime.Register("putExtras", "(Landroid/os/Bundle;)V", "", ApiSince=25)]
public void PutExtras (Android.OS.Bundle? extras);
[<Android.Runtime.Register("putExtras", "(Landroid/os/Bundle;)V", "", ApiSince=25)>]
member this.PutExtras : Android.OS.Bundle -> unit
Parameters
- extras
- Bundle
The extras to add.
- Attributes
Remarks
Adds some extras to this Call
. Existing keys are replaced and new ones are added.
No assumptions should be made as to how an In-Call UI or service will handle these extras. Keys should be fully qualified (e.g., com.example.MY_EXTRA) to avoid conflicts.
Extras added using this method will be made available to the ConnectionService
associated with this Call
and notified via Connection#onExtrasChanged(Bundle)
.
Extras added using this method will also be available to other running InCallService
s and notified via Call.Callback#onDetailsChanged(Call, Details)
. The extras can be accessed via Details#getExtras()
.
Java documentation for android.telecom.Call.putExtras(android.os.Bundle)
.
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.