MPRemoteCommand.AddTarget Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddTarget(Func<MPRemoteCommandEvent,MPRemoteCommandHandlerStatus>) | |
AddTarget(NSObject, Selector) |
AddTarget(Func<MPRemoteCommandEvent,MPRemoteCommandHandlerStatus>)
[Foundation.Export("addTargetWithHandler:")]
public virtual Foundation.NSObject AddTarget (Func<MediaPlayer.MPRemoteCommandEvent,MediaPlayer.MPRemoteCommandHandlerStatus> handler);
abstract member AddTarget : Func<MediaPlayer.MPRemoteCommandEvent, MediaPlayer.MPRemoteCommandHandlerStatus> -> Foundation.NSObject
override this.AddTarget : Func<MediaPlayer.MPRemoteCommandEvent, MediaPlayer.MPRemoteCommandHandlerStatus> -> Foundation.NSObject
Paramètres
Retours
- Attributs
S’applique à
AddTarget(NSObject, Selector)
[Foundation.Export("addTarget:action:")]
public virtual void AddTarget (Foundation.NSObject target, ObjCRuntime.Selector action);
abstract member AddTarget : Foundation.NSObject * ObjCRuntime.Selector -> unit
override this.AddTarget : Foundation.NSObject * ObjCRuntime.Selector -> unit
Paramètres
- target
- NSObject
- action
- Selector
- Attributs