SubscriptionManager.SetDeviceToDeviceStatusSharingContacts 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.
Set the list of contacts that allow device to device status sharing for a subscription id.
[Android.Runtime.Register("setDeviceToDeviceStatusSharingContacts", "(ILjava/util/List;)V", "GetSetDeviceToDeviceStatusSharingContacts_ILjava_util_List_Handler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void SetDeviceToDeviceStatusSharingContacts (int subscriptionId, System.Collections.Generic.IList<Android.Net.Uri> contacts);
[<Android.Runtime.Register("setDeviceToDeviceStatusSharingContacts", "(ILjava/util/List;)V", "GetSetDeviceToDeviceStatusSharingContacts_ILjava_util_List_Handler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member SetDeviceToDeviceStatusSharingContacts : int * System.Collections.Generic.IList<Android.Net.Uri> -> unit
override this.SetDeviceToDeviceStatusSharingContacts : int * System.Collections.Generic.IList<Android.Net.Uri> -> unit
Parameters
- subscriptionId
- Int32
The subscription id.
- Attributes
Remarks
Set the list of contacts that allow device to device status sharing for a subscription id. The setting app uses this method to indicate with whom they wish to share device to device status information.
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.