RemoteEntry(Slice) Constructor
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.
Constructs a RemoteEntry to be displayed on the UI.
[Android.Runtime.Register(".ctor", "(Landroid/app/slice/Slice;)V", "", ApiSince=34)]
public RemoteEntry (Android.App.Slices.Slice slice);
[<Android.Runtime.Register(".ctor", "(Landroid/app/slice/Slice;)V", "", ApiSince=34)>]
new Android.Service.Credentials.RemoteEntry : Android.App.Slices.Slice -> Android.Service.Credentials.RemoteEntry
Parameters
- slice
- Slice
the slice containing the metadata to be shown on the UI, must be constructed
through the androidx.credentials.provider
Jetpack library;
If constructed manually, the slice
object must
contain the non-null properties of the
androidx.credentials.provider.RemoteEntry
class populated as slice items
against specific hints as used in the class's toSlice
method,
since the Android System uses this library to parse the slice
and
extract the required attributes
- Attributes
Remarks
Constructs a RemoteEntry to be displayed on the UI.
Java documentation for android.service.credentials.RemoteEntry.RemoteEntry(android.app.slice.Slice)
.
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.