Class NewsFeedReader
Read a news feed (RSS).
Inherited Members
Namespace: NotificationSamples.Demo
Syntax
public class NewsFeedReader : MonoBehaviour
Methods
GetFirstItem(String, Action<NewsFeedReader.NewsItem>)
Get the first news item from the RSS URL.
Declaration
public void GetFirstItem(string url, Action<NewsFeedReader.NewsItem> doneAction)
Parameters
Type | Name | Description |
---|---|---|
String | url | RSS URL. |
Action<NewsFeedReader.NewsItem> | doneAction | Action to fire when the process is done. The item will be null if it failed. |