public class

SliceProviderWrapperContainer.SliceProviderWrapper

extends SliceProvider

 java.lang.Object

↳SliceProvider

↳androidx.slice.compat.SliceProviderWrapperContainer.SliceProviderWrapper

Summary

Constructors
publicSliceProviderWrapper(SliceProvider provider, java.lang.String autoGrantPermissions[])

Methods
public voidattachInfo(Context context, ProviderInfo info)

public Bundlecall(java.lang.String method, java.lang.String arg, Bundle extras)

public SliceonBindSlice(Uri sliceUri, java.util.Set<SliceSpec> supportedVersions)

public booleanonCreate()

public PendingIntentonCreatePermissionRequest(Uri sliceUri)

public java.util.Collection<Uri>onGetSliceDescendants(Uri uri)

public UrionMapIntentToUri(Intent intent)

Maps intents to uris.

public voidonSlicePinned(Uri sliceUri)

public voidonSliceUnpinned(Uri sliceUri)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SliceProviderWrapper(SliceProvider provider, java.lang.String autoGrantPermissions[])

Methods

public void attachInfo(Context context, ProviderInfo info)

public boolean onCreate()

public PendingIntent onCreatePermissionRequest(Uri sliceUri)

public Bundle call(java.lang.String method, java.lang.String arg, Bundle extras)

public Slice onBindSlice(Uri sliceUri, java.util.Set<SliceSpec> supportedVersions)

public void onSlicePinned(Uri sliceUri)

public void onSliceUnpinned(Uri sliceUri)

public java.util.Collection<Uri> onGetSliceDescendants(Uri uri)

public Uri onMapIntentToUri(Intent intent)

Maps intents to uris.