C# Класс 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.
Наследование: UIActivity
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetIcon ( ) : UIKit.UIImage

Описание методов

CanPerform() публичный Метод

public CanPerform ( NSObject activityItems ) : bool
activityItems NSObject
Результат bool

GetCurrentActivities() публичный статический Метод

Retrieve a UIActivity instance for each AirPlay device currently accessible on the network.
public static GetCurrentActivities ( ) : UIActivity[]
Результат UIActivity[]

Perform() публичный Метод

public Perform ( ) : void
Результат void

Prepare() публичный Метод

public Prepare ( NSObject activityItems ) : void
activityItems NSObject
Результат void

UIAirPlayActivity() публичный Метод

public UIAirPlayActivity ( NSNetService service ) : System.Collections.Generic
service NSNetService
Результат System.Collections.Generic