MPRemoteCommand.AddTarget Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
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
Parâmetros
Retornos
- Atributos
Aplica-se a
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
Parâmetros
- target
- NSObject
- action
- Selector
- Atributos