C# Class Poupou.AirPlay.UIAirPlayActivity

This is a UIActivity subclass that allows sending an UIImage to a specific AirPlay device. You only need to use the static GetCurrentActivities method to get UIActivity for each AirPlay device visible on the network. Everything else will be handled automagically. You might want ot customize/override the Image property to provide your own icon or change the Title property to show something else than the AirPlay device's name. Note: UIActivity is only available on iOS6 and later.
Inheritance: UIActivity
Afficher le fichier Open project: spouliot/airplay

Méthodes publiques

Méthode Description
CanPerform ( NSObject activityItems ) : bool
GetCurrentActivities ( ) : UIActivity[]

Retrieve a UIActivity instance for each AirPlay device currently accessible on the network.

Perform ( ) : void
Prepare ( NSObject activityItems ) : void
UIAirPlayActivity ( NSNetService service ) : System.Collections.Generic

Private Methods

Méthode Description
GetIcon ( ) : UIKit.UIImage

Method Details

CanPerform() public méthode

public CanPerform ( NSObject activityItems ) : bool
activityItems NSObject
Résultat bool

GetCurrentActivities() public static méthode

Retrieve a UIActivity instance for each AirPlay device currently accessible on the network.
public static GetCurrentActivities ( ) : UIActivity[]
Résultat UIActivity[]

Perform() public méthode

public Perform ( ) : void
Résultat void

Prepare() public méthode

public Prepare ( NSObject activityItems ) : void
activityItems NSObject
Résultat void

UIAirPlayActivity() public méthode

public UIAirPlayActivity ( NSNetService service ) : System.Collections.Generic
service NSNetService
Résultat System.Collections.Generic