C# Class PlayStation_Gui.ViewModels.MessagesViewModel

Inheritance: Template10.Mvvm.ViewModelBase
Afficher le fichier Open project: drasticactions/Pureisuteshon-App

Méthodes publiques

Méthode Description
DownloadImageAsync ( MessageGroupItem item ) : System.Threading.Tasks.Task
GetMessageGroups ( string userName ) : System.Threading.Tasks.Task
GetMessages ( MessageGroup messageGroup ) : System.Threading.Tasks.Task
LoadMessageImage ( MessageGroupItem item ) : System.Threading.Tasks.Task
OnNavigatedFromAsync ( object>.IDictionary state, bool suspending ) : System.Threading.Tasks.Task
OnNavigatedToAsync ( object parameter, NavigationMode mode, object>.IDictionary state ) : System.Threading.Tasks.Task
PullToRefresh_ListView ( object sender, AmazingPullToRefresh.Controls.RefreshRequestedEventArgs e ) : void
PullToRefresh_MessageView ( object sender, AmazingPullToRefresh.Controls.RefreshRequestedEventArgs e ) : void
RemoveImage ( ) : void
SelectMessageGroup ( object sender, ItemClickEventArgs e ) : System.Threading.Tasks.Task
SelectSticker ( object sender, ItemClickEventArgs e ) : void
SelectStickerGroup ( object sender, ItemClickEventArgs e ) : void
SendMessage ( ) : System.Threading.Tasks.Task
SendMessageCommand ( object sender, object e ) : void
SendSticker ( StickerSelection stickerSelection ) : System.Threading.Tasks.Task
SetFriendsList ( string userName, bool onlineFilter, bool blockedPlayer, bool recentlyPlayed, bool personalDetailSharing, bool friendStatus, bool requesting, bool requested ) : void

Private Methods

Méthode Description
ConvertToJpeg ( IRandomAccessStream stream ) : Task
DecodeImage ( Stream stream ) : Task
GetAvatarUrl ( string username ) : Task
ScrollToBottom ( ) : void
SendMessageWithMedia ( ) : System.Threading.Tasks.Task
SendMessageWithoutMedia ( ) : System.Threading.Tasks.Task

Method Details

DownloadImageAsync() public méthode

public DownloadImageAsync ( MessageGroupItem item ) : System.Threading.Tasks.Task
item PlayStation_App.ViewModels.MessageGroupItem
Résultat System.Threading.Tasks.Task

GetMessageGroups() public méthode

public GetMessageGroups ( string userName ) : System.Threading.Tasks.Task
userName string
Résultat System.Threading.Tasks.Task

GetMessages() public méthode

public GetMessages ( MessageGroup messageGroup ) : System.Threading.Tasks.Task
messageGroup PlayStation_App.Models.MessageGroups.MessageGroup
Résultat System.Threading.Tasks.Task

LoadMessageImage() public méthode

public LoadMessageImage ( MessageGroupItem item ) : System.Threading.Tasks.Task
item PlayStation_App.ViewModels.MessageGroupItem
Résultat System.Threading.Tasks.Task

OnNavigatedFromAsync() public méthode

public OnNavigatedFromAsync ( object>.IDictionary state, bool suspending ) : System.Threading.Tasks.Task
state object>.IDictionary
suspending bool
Résultat System.Threading.Tasks.Task

OnNavigatedToAsync() public méthode

public OnNavigatedToAsync ( object parameter, NavigationMode mode, object>.IDictionary state ) : System.Threading.Tasks.Task
parameter object
mode NavigationMode
state object>.IDictionary
Résultat System.Threading.Tasks.Task

PullToRefresh_ListView() public méthode

public PullToRefresh_ListView ( object sender, AmazingPullToRefresh.Controls.RefreshRequestedEventArgs e ) : void
sender object
e AmazingPullToRefresh.Controls.RefreshRequestedEventArgs
Résultat void

PullToRefresh_MessageView() public méthode

public PullToRefresh_MessageView ( object sender, AmazingPullToRefresh.Controls.RefreshRequestedEventArgs e ) : void
sender object
e AmazingPullToRefresh.Controls.RefreshRequestedEventArgs
Résultat void

RemoveImage() public méthode

public RemoveImage ( ) : void
Résultat void

SelectMessageGroup() public méthode

public SelectMessageGroup ( object sender, ItemClickEventArgs e ) : System.Threading.Tasks.Task
sender object
e Windows.UI.Xaml.Controls.ItemClickEventArgs
Résultat System.Threading.Tasks.Task

SelectSticker() public méthode

public SelectSticker ( object sender, ItemClickEventArgs e ) : void
sender object
e Windows.UI.Xaml.Controls.ItemClickEventArgs
Résultat void

SelectStickerGroup() public méthode

public SelectStickerGroup ( object sender, ItemClickEventArgs e ) : void
sender object
e Windows.UI.Xaml.Controls.ItemClickEventArgs
Résultat void

SendMessage() public méthode

public SendMessage ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SendMessageCommand() public méthode

public SendMessageCommand ( object sender, object e ) : void
sender object
e object
Résultat void

SendSticker() public méthode

public SendSticker ( StickerSelection stickerSelection ) : System.Threading.Tasks.Task
stickerSelection PlayStation_App.Models.Sticker.StickerSelection
Résultat System.Threading.Tasks.Task

SetFriendsList() public méthode

public SetFriendsList ( string userName, bool onlineFilter, bool blockedPlayer, bool recentlyPlayed, bool personalDetailSharing, bool friendStatus, bool requesting, bool requested ) : void
userName string
onlineFilter bool
blockedPlayer bool
recentlyPlayed bool
personalDetailSharing bool
friendStatus bool
requesting bool
requested bool
Résultat void