예제 #1
0
        public static async Task <bool> TryGetMessages()
        {
            var messages = await UserSnippets.GetMessagesAsync();

            return(messages != null);
        }
예제 #2
0
        public static async Task <bool> TryGetCurrentUserManagerAsync()
        {
            string managerName = await UserSnippets.GetCurrentUserManagerAsync();

            return(managerName != null);
        }
예제 #3
0
        public static async Task <bool> TryGetEventsAsync()
        {
            var events = await UserSnippets.GetEventsAsync();

            return(events != null);
        }
예제 #4
0
        public static async Task <bool> TryCreateEventAsync()
        {
            string createdEvent = await UserSnippets.CreateEventAsync();

            return(createdEvent != null);
        }
예제 #5
0
        public static async Task <bool> TryCreateUserAsync()
        {
            string createdUser = await UserSnippets.CreateUserAsync(STORY_DATA_IDENTIFIER);

            return(createdUser != null);
        }
예제 #6
0
        public static async Task <bool> TryGetCurrentUserDriveAsync()
        {
            string driveId = await UserSnippets.GetCurrentUserDriveAsync();

            return(driveId != null);
        }
예제 #7
0
        public static async Task <bool> TryGetMeAsync()
        {
            var currentUser = await UserSnippets.GetMeAsync();

            return(currentUser != null);
        }
예제 #8
0
        public static async Task <bool> TryGetUsersAsync()
        {
            var users = await UserSnippets.GetUsersAsync();

            return(users != null);
        }
예제 #9
0
        public static async Task <bool> TryCreateFolderAsync()
        {
            var createdFolderId = await UserSnippets.CreateFolderAsync(Guid.NewGuid().ToString());

            return(createdFolderId != null);
        }
예제 #10
0
        public static async Task <bool> TryUpdateFileAsync()
        {
            var createdFileId = await UserSnippets.CreateFileAsync(Guid.NewGuid().ToString(), STORY_DATA_IDENTIFIER);

            return(await UserSnippets.UpdateFileAsync(createdFileId, STORY_DATA_IDENTIFIER));
        }
예제 #11
0
        public static async Task <bool> TryGetCurrentUserFilesAsync()
        {
            var files = await UserSnippets.GetCurrentUserFilesAsync();

            return(files != null);
        }
예제 #12
0
        public static async Task <bool> TryGetCurrentUserGroupsAsync()
        {
            var groups = await UserSnippets.GetCurrentUserGroupsAsync();

            return(groups != null);
        }
예제 #13
0
        public static async Task <bool> TryGetCurrentUserPhotoAsync()
        {
            string photoId = await UserSnippets.GetCurrentUserPhotoAsync();

            return(photoId != null);
        }