SliceProvider.OnSliceUnpinned(Uri) 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.
Called to inform an app that a slices is no longer pinned.
[Android.Runtime.Register("onSliceUnpinned", "(Landroid/net/Uri;)V", "GetOnSliceUnpinned_Landroid_net_Uri_Handler", ApiSince=28)]
public virtual void OnSliceUnpinned (Android.Net.Uri? sliceUri);
[<Android.Runtime.Register("onSliceUnpinned", "(Landroid/net/Uri;)V", "GetOnSliceUnpinned_Landroid_net_Uri_Handler", ApiSince=28)>]
abstract member OnSliceUnpinned : Android.Net.Uri -> unit
override this.OnSliceUnpinned : Android.Net.Uri -> unit
Parameters
- sliceUri
- Uri
- Attributes
Remarks
Called to inform an app that a slices is no longer pinned.
This means that no other apps on the device care about updates to this slice anymore and therefore it is not important to be updated. Any syncs or jobs related to this slice should be cancelled.
Java documentation for android.app.slice.SliceProvider.onSliceUnpinned(android.net.Uri)
.
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.