AssociationRequest.Builder.SetDeviceIcon(Icon) 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 device icon for the self-managed device and to display the icon in the self-managed association dialog.
[Android.Runtime.Register("setDeviceIcon", "(Landroid/graphics/drawable/Icon;)Landroid/companion/AssociationRequest$Builder;", "", ApiSince=36)]
public Android.Companion.AssociationRequest.Builder SetDeviceIcon(Android.Graphics.Drawables.Icon deviceIcon);
[<Android.Runtime.Register("setDeviceIcon", "(Landroid/graphics/drawable/Icon;)Landroid/companion/AssociationRequest$Builder;", "", ApiSince=36)>]
member this.SetDeviceIcon : Android.Graphics.Drawables.Icon -> Android.Companion.AssociationRequest.Builder
Parameters
- deviceIcon
- Icon
Returns
- Attributes
Remarks
Set the device icon for the self-managed device and to display the icon in the self-managed association dialog.
The given device icon will be resized to 24dp x 24dp. Requires Manifest.permission.REQUEST_COMPANION_SELF_MANAGED
Android reference for android.companion.AssociationRequest.Builder.setDeviceIcon.
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.